mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-05 12:16:31 +02:00
Implement regular OTA update attempt / indicate OTA processing on display
This commit is contained in:
@ -28,6 +28,7 @@ private:
|
||||
int tvocLearningOffset;
|
||||
int noxLearningOffset;
|
||||
char temperatureUnit; // 'f' or 'c'
|
||||
time_t lastOta;
|
||||
|
||||
uint32_t _check;
|
||||
};
|
||||
@ -40,6 +41,7 @@ private:
|
||||
bool _tvocLearningOffsetChanged;
|
||||
bool ledBarBrightnessChanged = false;
|
||||
bool displayBrightnessChanged = false;
|
||||
String otaNewFirmwareVersion;
|
||||
|
||||
AirGradient* ag;
|
||||
|
||||
@ -97,6 +99,9 @@ public:
|
||||
int getLedBarBrightness(void);
|
||||
bool isDisplayBrightnessChanged(void);
|
||||
int getDisplayBrightness(void);
|
||||
int getLastOta(void);
|
||||
void updateLastOta(void);
|
||||
String newFirmwareVersion(void);
|
||||
};
|
||||
|
||||
#endif /** _AG_CONFIG_H_ */
|
||||
|
Reference in New Issue
Block a user