fixing problem where closing the motor immediately masks the upper leds

This commit is contained in:
PS 2021-04-09 14:15:02 -10:00
parent b3fbae340b
commit fae031b746
1 changed files with 4 additions and 0 deletions

View File

@ -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)