Add percent sign to calibration screen

old-commit-hash: 517826c1e1
commatwo_master
Willem Melching 5 years ago
parent f0b18f5f5e
commit 12d3366c55
  1. 2
      selfdrive/controls/lib/events.py

@ -170,7 +170,7 @@ def calibration_incomplete_alert(CP, sm, metric):
speed = int(Filter.MIN_SPEED * (CV.MS_TO_KPH if metric else CV.MS_TO_MPH))
unit = "kph" if metric else "mph"
return Alert(
"Calibration in Progress: %d" % sm['liveCalibration'].calPerc,
"Calibration in Progress: %d%%" % sm['liveCalibration'].calPerc,
"Drive Above %d %s" % (speed, unit),
AlertStatus.normal, AlertSize.mid,
Priority.LOWEST, VisualAlert.none, AudibleAlert.none, 0., 0., .2)

Loading…
Cancel
Save