[Taranis] Meters in PREC1 should not be played as Feet in PREC1

This commit is contained in:
bsongis@gmail.com
2013-07-20 21:42:33 +00:00
parent 3a359b2075
commit 05fb10b7e3
+6
View File
@@ -99,6 +99,12 @@ I18N_PLAY_FUNCTION(en, 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++;