@@ -112,7 +112,7 @@ static void factoryConfigReset(void);
112
112
static void wdgFeedUpdate (void );
113
113
static void ledBarEnabledUpdate (void );
114
114
static bool sgp41Init (void );
115
- static void firmwareCheckForUpdate (void );
115
+ static void checkForFirmwareUpdate (void );
116
116
static void otaHandlerCallback (OtaHandler::OtaState state, String mesasge);
117
117
static void displayExecuteOta (OtaHandler::OtaState state, String msg, int processing);
118
118
static int calculateMaxPeriod (int updateInterval);
@@ -127,7 +127,7 @@ AgSchedule pmsSchedule(SENSOR_PM_UPDATE_INTERVAL, updatePm);
127
127
AgSchedule tempHumSchedule (SENSOR_TEMP_HUM_UPDATE_INTERVAL, tempHumUpdate);
128
128
AgSchedule tvocSchedule (SENSOR_TVOC_UPDATE_INTERVAL, updateTvoc);
129
129
AgSchedule watchdogFeedSchedule (60000 , wdgFeedUpdate);
130
- AgSchedule checkForUpdateSchedule (FIRMWARE_CHECK_FOR_UPDATE_MS, firmwareCheckForUpdate );
130
+ AgSchedule checkForUpdateSchedule (FIRMWARE_CHECK_FOR_UPDATE_MS, checkForFirmwareUpdate );
131
131
132
132
void setup () {
133
133
/* * Serial for print debug message */
@@ -877,7 +877,7 @@ void initializeNetwork() {
877
877
#ifdef ESP8266
878
878
// ota not supported
879
879
#else
880
- firmwareCheckForUpdate ();
880
+ checkForFirmwareUpdate ();
881
881
checkForUpdateSchedule.update ();
882
882
#endif
883
883
0 commit comments