do not hide system critical alerts
This commit is contained in:
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,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 @@
|
||||
DEV-3bedeb4e-DEBUG
|
||||
DEV-3af9b873-DEBUG
|
||||
@@ -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;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user