turning upper leds back on when the flower opens

This commit is contained in:
PS 2021-09-28 19:33:38 -05:00
parent e1d652d884
commit bb9c395388
1 changed files with 2 additions and 0 deletions

View File

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