From fae031b746e079faa4dd3e1be67c3cf75f55e5f8 Mon Sep 17 00:00:00 2001 From: PS Date: Fri, 9 Apr 2021 14:15:02 -1000 Subject: [PATCH] fixing problem where closing the motor immediately masks the upper leds --- src/app/ss_blumen_lumen/blumen_lumen.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/ss_blumen_lumen/blumen_lumen.cpp b/src/app/ss_blumen_lumen/blumen_lumen.cpp index e6f0f02..b36653c 100644 --- a/src/app/ss_blumen_lumen/blumen_lumen.cpp +++ b/src/app/ss_blumen_lumen/blumen_lumen.cpp @@ -690,6 +690,10 @@ BlumenLumen_CustomUpdate(gs_data UserData, app_state* State, context* Context) { BLState->ShouldDimUpperLeds[i] = true; } + else + { + BLState->ShouldDimUpperLeds[i] = false; + } } else if (MotorPos == MotorState_Closed || MotorPos == MotorState_HalfOpen)