Add new App : Sysinfo. It displays various info about the running system : version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).

This commit is contained in:
JF
2020-03-22 12:03:17 +01:00
parent 8ed6ffaaf8
commit fb64ba8fb6
15 changed files with 276 additions and 41 deletions

View File

@@ -126,7 +126,7 @@ void Tile::OnObjectEvent(lv_obj_t *obj, lv_event_t event, uint32_t buttonId) {
modal->Show();
break;
case 4:
tile->StartTestApp();
tile->StartSysInfoApp();
break;
case 5:
tile->StartBrightnessApp();
@@ -148,8 +148,8 @@ void Tile::StartClockApp() {
running = false;
}
void Tile::StartTestApp() {
app->StartApp(DisplayApp::Apps::Test);
void Tile::StartSysInfoApp() {
app->StartApp(DisplayApp::Apps::SysInfo);
running = false;
}