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:
@@ -178,10 +178,9 @@ namespace CANDriver {
|
||||
void setVerboseDecode(bool enabled);
|
||||
|
||||
/**
|
||||
* UI event handler for CAN toggle switch
|
||||
* @param e LVGL event
|
||||
* Settings-screen switch: start/stop the CAN task and remember the choice in NVS.
|
||||
*/
|
||||
void onCANToggle(lv_event_t *e);
|
||||
void setEnabled(bool enabled);
|
||||
}
|
||||
|
||||
#endif // _CAN_DRIVER_H
|
||||
|
||||
Reference in New Issue
Block a user