fix: Some units not being played (#3742)

* Fix timer unit announcements.
Broken in switch refactor PR.

* fix: dbm unit not being played
This commit is contained in:
philmoz
2023-07-03 18:53:33 +10:00
committed by GitHub
parent d60b544e8c
commit 1820ff8d5c
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ const char * const unitsFilenames[] = {
"ms", "ms",
"us", "us",
"km", "km",
"spare5", "dbm",
"spare6", "spare6",
"spare7", "spare7",
"spare8", "spare8",
+5
View File
@@ -309,6 +309,11 @@ enum TelemetryUnit {
UNIT_KM, UNIT_KM,
UNIT_DBM, UNIT_DBM,
UNIT_MAX = UNIT_DBM, UNIT_MAX = UNIT_DBM,
UNIT_SPARE6,
UNIT_SPARE7,
UNIT_SPARE8,
UNIT_SPARE9,
UNIT_SPARE10,
UNIT_HOURS, UNIT_HOURS,
UNIT_MINUTES, UNIT_MINUTES,
UNIT_SECONDS, UNIT_SECONDS,