mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 18:42:07 +08:00
Add percent sign to calibration screen
old-commit-hash: 517826c1e1263f0445c125a002223906b73538a8
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user