reset
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#include <cmdHelper.h>
|
||||
#include <logger.h>
|
||||
#include <PontCoopScheduler.h>
|
||||
|
||||
#include <eeprom.h>
|
||||
|
||||
@ -29,6 +30,7 @@ static bool globalStatsCmd(uint8_t argc, char **args) {
|
||||
static bool resetStatsCmd(uint8_t argc, char **args) {
|
||||
t_deviceStats *deviceStats = getGlobalDeviceStats();
|
||||
deviceStats->totalWatchdogResets = 0;
|
||||
schAdd(eepromHourlyUpdateDeviceStats, NULL, 1, 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user