do not hide system critical alerts

This commit is contained in:
firestar5683
2026-03-29 18:10:59 -05:00
parent da0be57e88
commit a6721ca3af
34 changed files with 4 additions and 3 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1,2 +1,2 @@
extern const uint8_t gitversion[19];
const uint8_t gitversion[19] = "DEV-3bedeb4e-DEBUG";
const uint8_t gitversion[19] = "DEV-3af9b873-DEBUG";
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
DEV-3bedeb4e-DEBUG
DEV-3af9b873-DEBUG
+2 -1
View File
@@ -8,7 +8,8 @@
void OnroadAlerts::updateState(const UIState &s, const StarPilotUIState &fs) {
Alert a = getAlert(*(s.sm), *(fs.sm), s.scene.started_frame);
if (!alert.equal(a)) {
if (alert.status == cereal::SelfdriveState::AlertStatus::NORMAL && starpilot_toggles.value("hide_alerts").toBool()) {
// Hide only incoming NORMAL alerts. Keep userPrompt/critical visible.
if (a.status == cereal::SelfdriveState::AlertStatus::NORMAL && starpilot_toggles.value("hide_alerts").toBool()) {
clear();
} else {
alert = a;
BIN
View File
Binary file not shown.