Fix TTS decimals to account for bigger number of units

This commit is contained in:
Andre Bernet
2015-04-25 18:09:15 +04:00
parent ed506d61a8
commit bc83156a65
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ enum EnglishPrompts {
EN_PROMPT_FEET_PER_SECOND = EN_PROMPT_UNITS_BASE+(UNIT_FEET_PER_SECOND*2),
#endif
EN_PROMPT_POINT_BASE = 160, //.0 - .9
EN_PROMPT_POINT_BASE = 165, //.0 - .9
};
+1 -1
View File
@@ -163,7 +163,7 @@ def ttsEn():
for i, s in enumerate(["point zero", "point one", "point two", "point three",
"point four", "point five", "point six",
"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),
(u"maximum trim reached", "endtrim", NO_ALTERNATE),
(u"transmitter battery low", "lowbatt", 485),