turning upper leds back on when the flower opens
This commit is contained in:
parent
e1d652d884
commit
bb9c395388
|
@ -708,6 +708,8 @@ BlumenLumen_CustomUpdate(gs_data UserData, app_state* State, context* Context)
|
||||||
else if (MotorPos == MotorState_Closed ||
|
else if (MotorPos == MotorState_Closed ||
|
||||||
MotorPos == MotorState_HalfOpen)
|
MotorPos == MotorState_HalfOpen)
|
||||||
{
|
{
|
||||||
|
BLState->ShouldDimUpperLeds[i] = false;
|
||||||
|
|
||||||
bool SendMotorCommand = false;
|
bool SendMotorCommand = false;
|
||||||
|
|
||||||
u64 NanosSinceLastSend = Context->SystemTime_Current.NanosSinceEpoch - BLState->LastSendTime.NanosSinceEpoch;
|
u64 NanosSinceLastSend = Context->SystemTime_Current.NanosSinceEpoch - BLState->LastSendTime.NanosSinceEpoch;
|
||||||
|
|
Loading…
Reference in New Issue