fixing problem where closing the motor immediately masks the upper leds
This commit is contained in:
parent
b3fbae340b
commit
fae031b746
|
@ -690,6 +690,10 @@ BlumenLumen_CustomUpdate(gs_data UserData, app_state* State, context* Context)
|
||||||
{
|
{
|
||||||
BLState->ShouldDimUpperLeds[i] = true;
|
BLState->ShouldDimUpperLeds[i] = true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
BLState->ShouldDimUpperLeds[i] = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (MotorPos == MotorState_Closed ||
|
else if (MotorPos == MotorState_Closed ||
|
||||||
MotorPos == MotorState_HalfOpen)
|
MotorPos == MotorState_HalfOpen)
|
||||||
|
|
Loading…
Reference in New Issue