Hand-coded Settings + tabbed Gauge Tuning; remembered Wi-Fi; on-screen updates
Firmware / build (push) Successful in 3m58s
Firmware / build (push) Successful in 3m58s
Settings (replaces the SquareLine screen, now deleted): sidebar with Wi-Fi (switch, status card with failure reasons, networks nearby, full-screen password page), Updates (installed vs latest, Check, Install behind a confirm dialog) and System (CAN / link / perf overlay switches, live link, CAN, memory, uptime). Gauge Tuning: tabs Tachometer / Coolant gauge / Alerts / Simulation, 56 px -/+ rows with hints and real units, accelerating hold-to-repeat, per-tab Reset with confirm, save indicator, SIMULATION ON chip, swipe left to go back. WiFiManager rewritten without LVGL code: one remembered network (NVS "wifi"), auto-join at boot, scans only on request, no endless reconnect (keeps the ESP-NOW channel stable), failure reasons from the disconnect event, password never logged. Ota gains getStatus()/requestCheck()/ requestInstall() for the screen. CAN/UART switches become setEnabled(). Shared ui_kit (header, buttons, switches, confirm dialog); Montserrat 20/24 enabled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-4
@@ -33,14 +33,12 @@ void ui_init(void)
|
||||
lv_theme_t * theme = lv_theme_default_init(dispp, lv_palette_main(LV_PALETTE_BLUE), lv_palette_main(LV_PALETTE_RED),
|
||||
true, LV_FONT_DEFAULT);
|
||||
lv_disp_set_theme(dispp, theme);
|
||||
// Home screen removed (2026-09-21): the firmware boots into the hand-coded
|
||||
// Driveline screen (DrivelineScreen::show() in display_init.cpp). Settings is
|
||||
// created lazily by _ui_screen_change() when swiped to.
|
||||
// Home (2026-09-21) and Settings (2026-09-27) screens removed: every screen
|
||||
// is hand-coded in src/modules; display_init.cpp shows the Driveline screen.
|
||||
ui____initial_actions0 = lv_obj_create(NULL);
|
||||
lv_disp_load_scr(ui____initial_actions0);
|
||||
}
|
||||
|
||||
void ui_destroy(void)
|
||||
{
|
||||
ui_Settings_Screen_screen_destroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user