Move Backup to the system task.

This commit is contained in:
Tim Keller
2021-08-19 00:51:12 +00:00
parent 2dd7b8ba2c
commit 4f6d7e2c63
4 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,6 @@ void DateTime::UpdateTime(uint32_t systickCounter) {
} else if (hour != 0) {
isMidnightAlreadyNotified = false;
}
NoInit_BackUpTime = currentDateTime;
}
const char* DateTime::MonthShortToString() {

View File

@@ -2,7 +2,6 @@
#include <cstdint>
#include <chrono>
extern std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> NoInit_BackUpTime;
namespace Pinetime {
namespace System {