Add touch panel port to lvgl.
PoC of user interaction with 3 screen (clock, menu and app).
This commit is contained in:
@@ -49,7 +49,7 @@ void DateTime::UpdateTime(uint32_t systickCounter) {
|
||||
previousSystickCounter = 0xffffff - (rest - systickCounter);
|
||||
}
|
||||
|
||||
currentDateTime += std::chrono::milliseconds (systickDelta*10);
|
||||
currentDateTime += std::chrono::seconds (correctedDelta);
|
||||
|
||||
auto dp = date::floor<date::days>(currentDateTime);
|
||||
auto time = date::make_time(currentDateTime-dp);
|
||||
|
Reference in New Issue
Block a user