From bb9c395388cd05adb9a12ce1224b61f2a65f10bc Mon Sep 17 00:00:00 2001 From: PS Date: Tue, 28 Sep 2021 19:33:38 -0500 Subject: [PATCH] turning upper leds back on when the flower opens --- src/app/ss_blumen_lumen/blumen_lumen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/ss_blumen_lumen/blumen_lumen.cpp b/src/app/ss_blumen_lumen/blumen_lumen.cpp index c9d1a52..08ac0e0 100644 --- a/src/app/ss_blumen_lumen/blumen_lumen.cpp +++ b/src/app/ss_blumen_lumen/blumen_lumen.cpp @@ -708,6 +708,8 @@ BlumenLumen_CustomUpdate(gs_data UserData, app_state* State, context* Context) else if (MotorPos == MotorState_Closed || MotorPos == MotorState_HalfOpen) { + BLState->ShouldDimUpperLeds[i] = false; + bool SendMotorCommand = false; u64 NanosSinceLastSend = Context->SystemTime_Current.NanosSinceEpoch - BLState->LastSendTime.NanosSinceEpoch;