From 8031a68e55b42d1a80303f00a3aecd646e3c2359 Mon Sep 17 00:00:00 2001 From: George Hotz Date: Mon, 4 Apr 2022 12:45:57 -0700 Subject: [PATCH] alerts: Don't use Malfunction twice --- selfdrive/controls/lib/events.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/controls/lib/events.py b/selfdrive/controls/lib/events.py index 1b027a0884..7919c40206 100644 --- a/selfdrive/controls/lib/events.py +++ b/selfdrive/controls/lib/events.py @@ -488,17 +488,17 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = { # Thrown when the fan is driven at >50% but is not rotating EventName.fanMalfunction: { - ET.PERMANENT: NormalPermanentAlert("Fan Malfunction", "Hardware Malfunction"), + ET.PERMANENT: NormalPermanentAlert("Fan Malfunction", "Likely Hardware Issue"), }, # Camera is not outputting frames at a constant framerate EventName.cameraMalfunction: { - ET.PERMANENT: NormalPermanentAlert("Camera Malfunction", "Hardware Malfunction"), + ET.PERMANENT: NormalPermanentAlert("Camera Malfunction", "Likely Hardware Issue"), }, # Unused EventName.gpsMalfunction: { - ET.PERMANENT: NormalPermanentAlert("GPS Malfunction", "Hardware Malfunction"), + ET.PERMANENT: NormalPermanentAlert("GPS Malfunction", "Likely Hardware Issue"), }, # When the GPS position and localizer diverge the localizer is reset to the