centralized LED Control and ModeSwitching in Lubeapp.cpp
This commit is contained in:
@@ -480,7 +480,6 @@ void Websocket_HandleButtons(uint8_t *data)
|
||||
else if (strcmp(identifier, "purgenow") == 0)
|
||||
{
|
||||
globals.systemStatus = sysStat_Purge;
|
||||
globals.purgePulses = LubeConfig.BleedingPulses;
|
||||
}
|
||||
else if (strcmp(identifier, "sourcesave") == 0)
|
||||
{
|
||||
@@ -499,6 +498,7 @@ void Websocket_HandleButtons(uint8_t *data)
|
||||
else if (strcmp(identifier, "resettank") == 0)
|
||||
{
|
||||
PersistenceData.tankRemain_microL = LubeConfig.tankCapacity_ml * 1000;
|
||||
globals.requestEEAction = EE_PDS_SAVE;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user