Meters in PREC1 should not be played as Feet in PREC1 (all languages)

This commit is contained in:
romolo.manfredini@gmail.com
2013-07-20 22:00:51 +00:00
parent 05fb10b7e3
commit 65fdb1a64b
9 changed files with 56 additions and 14 deletions
+6
View File
@@ -112,6 +112,12 @@ I18N_PLAY_FUNCTION(de, playNumber, getvalue_t number, uint8_t unit, uint8_t att)
if (IS_IMPERIAL_ENABLE()) {
if (unit == UNIT_METERS) {
unit = UNIT_FEET;
#if defined(CPUARM)
if (att & PREC1) {
number /= 10;
att -= PREC1;
}
#endif
}
}
unit++;