Alerts: fix inconsistent capitalization (#31514)

fix capitalization
pull/31517/head
goodchoom 2 years ago committed by GitHub
parent 26481d082f
commit 8b5c9e84d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      selfdrive/controls/lib/events.py

@ -767,12 +767,12 @@ EVENTS: Dict[int, Dict[str, Union[Alert, AlertCallbackType]]] = {
# is thrown. This can mean a service crashed, did not broadcast a message for # is thrown. This can mean a service crashed, did not broadcast a message for
# ten times the regular interval, or the average interval is more than 10% too high. # ten times the regular interval, or the average interval is more than 10% too high.
EventName.commIssue: { EventName.commIssue: {
ET.SOFT_DISABLE: soft_disable_alert("Communication Issue between Processes"), ET.SOFT_DISABLE: soft_disable_alert("Communication Issue Between Processes"),
ET.NO_ENTRY: comm_issue_alert, ET.NO_ENTRY: comm_issue_alert,
}, },
EventName.commIssueAvgFreq: { EventName.commIssueAvgFreq: {
ET.SOFT_DISABLE: soft_disable_alert("Low Communication Rate between Processes"), ET.SOFT_DISABLE: soft_disable_alert("Low Communication Rate Between Processes"),
ET.NO_ENTRY: NoEntryAlert("Low Communication Rate between Processes"), ET.NO_ENTRY: NoEntryAlert("Low Communication Rate Between Processes"),
}, },
EventName.controlsdLagging: { EventName.controlsdLagging: {

Loading…
Cancel
Save