Fix TTS decimals to account for bigger number of units
This commit is contained in:
@@ -71,7 +71,7 @@ enum EnglishPrompts {
|
|||||||
EN_PROMPT_FEET_PER_SECOND = EN_PROMPT_UNITS_BASE+(UNIT_FEET_PER_SECOND*2),
|
EN_PROMPT_FEET_PER_SECOND = EN_PROMPT_UNITS_BASE+(UNIT_FEET_PER_SECOND*2),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
EN_PROMPT_POINT_BASE = 160, //.0 - .9
|
EN_PROMPT_POINT_BASE = 165, //.0 - .9
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -163,7 +163,7 @@ def ttsEn():
|
|||||||
for i, s in enumerate(["point zero", "point one", "point two", "point three",
|
for i, s in enumerate(["point zero", "point one", "point two", "point three",
|
||||||
"point four", "point five", "point six",
|
"point four", "point five", "point six",
|
||||||
"point seven", "point eight", "point nine"]):
|
"point seven", "point eight", "point nine"]):
|
||||||
systemSounds.append((s, filename(PROMPT_SYSTEM_BASE+160+i)))
|
systemSounds.append((s, filename(PROMPT_SYSTEM_BASE+165+i)))
|
||||||
for s, f, a in [(u"trim center", "midtrim", 495),
|
for s, f, a in [(u"trim center", "midtrim", 495),
|
||||||
(u"maximum trim reached", "endtrim", NO_ALTERNATE),
|
(u"maximum trim reached", "endtrim", NO_ALTERNATE),
|
||||||
(u"transmitter battery low", "lowbatt", 485),
|
(u"transmitter battery low", "lowbatt", 485),
|
||||||
|
|||||||
Reference in New Issue
Block a user