Compare commits

..

1 Commits

Author SHA1 Message Date
royjr e0a5c99588 Update opendbc_repo 2026-07-01 22:54:58 -04:00
4 changed files with 3 additions and 11 deletions
-1
View File
@@ -342,7 +342,6 @@ struct OnroadEventSP @0xda96579883444c35 {
speedLimitChanged @21;
speedLimitPending @22;
e2eChime @23;
chillModeSwitched @24;
}
}
+1 -4
View File
@@ -46,8 +46,5 @@ class CruiseHelper:
if self.button_frame_counts[ButtonType.gapAdjustCruise] >= DISTANCE_LONG_PRESS and not self.experimental_mode_switched:
self._experimental_mode = not experimental_mode
self.params.put_bool("ExperimentalMode", self._experimental_mode)
if self._experimental_mode:
events.add(EventNameSP.experimentalModeSwitched)
else:
events.add(EventNameSP.chillModeSwitched)
events.add(EventNameSP.experimentalModeSwitched)
self.experimental_mode_switched = True
+1 -5
View File
@@ -181,11 +181,7 @@ EVENTS_SP: dict[int, dict[str, Alert | AlertCallbackType]] = {
},
EventNameSP.experimentalModeSwitched: {
ET.WARNING: NormalPermanentAlert("Experimental Mode", duration=1.5)
},
EventNameSP.chillModeSwitched: {
ET.WARNING: NormalPermanentAlert("Chill Mode", duration=1.5)
ET.WARNING: NormalPermanentAlert("Experimental Mode Switched", duration=1.5)
},
EventNameSP.wrongCarModeAlertOnly: {