Integration of lvgl : continued...

This commit is contained in:
JF
2020-02-10 21:05:33 +01:00
parent a97faf8e9e
commit e65c9fa181
17 changed files with 1301 additions and 314 deletions

View File

@@ -49,7 +49,7 @@ void DateTime::UpdateTime(uint32_t systickCounter) {
previousSystickCounter = 0xffffff - (rest - systickCounter);
}
currentDateTime += std::chrono::seconds (correctedDelta);
currentDateTime += std::chrono::milliseconds (systickDelta*10);
auto dp = date::floor<date::days>(currentDateTime);
auto time = date::make_time(currentDateTime-dp);