diff --git a/Board320_240.cpp b/Board320_240.cpp index 6a3a145..472a9f3 100644 --- a/Board320_240.cpp +++ b/Board320_240.cpp @@ -11,7 +11,7 @@ #include #include "SIM800L.h" -RTC_DATA_ATTR int bootCount = 0; +RTC_DATA_ATTR unsigned int bootCount = 0; /** Init board @@ -32,6 +32,7 @@ void Board320_240::initBoard() { liveData->params.chargingStartTime = liveData->params.currentTime = mktime(&now); ++bootCount; + syslog->print("Boot count: "); syslog->println(bootCount); }