Fix issue: LED bar button test pressed but WiFi connection still perform.

This commit is contained in:
Phat Nguyen
2024-05-13 14:43:53 +07:00
parent 3dae4cb06d
commit 5b18a8353d
4 changed files with 33 additions and 22 deletions

View File

@ -17,6 +17,7 @@ private:
bool ledBarBrightnessChanged = false;
bool displayBrightnessChanged = false;
String otaNewFirmwareVersion;
bool _offlineMode = false;
AirGradient* ag;
@ -80,6 +81,7 @@ public:
String newFirmwareVersion(void);
bool isOfflineMode(void);
void setOfflineMode(bool offline);
void setOfflineModeWithoutSave(bool offline);
};
#endif /** _AG_CONFIG_H_ */