dashboard: auto refresh diagnostics overlay every 5 seconds
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
static const char *DASHBOARD_VERSION = "0.1.121-obd-coolant-polling";
|
static const char *DASHBOARD_VERSION = "0.1.122-diagnostics-auto-refresh";
|
||||||
|
|
||||||
// Update these if your Cargo ESP AP credentials are different.
|
// Update these if your Cargo ESP AP credentials are different.
|
||||||
//static const char *CARGO_WIFI_SSID = "OverlandController";
|
//static const char *CARGO_WIFI_SSID = "OverlandController";
|
||||||
|
|||||||
@@ -2217,5 +2217,10 @@ void loop()
|
|||||||
process_obd_can();
|
process_obd_can();
|
||||||
process_dashboard_page_switch();
|
process_dashboard_page_switch();
|
||||||
|
|
||||||
delay(50);
|
|
||||||
|
|
||||||
|
if (diagnostics_overlay != nullptr) {
|
||||||
|
update_diagnostics_overlay();
|
||||||
|
}
|
||||||
|
delay(50);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user