[all] Fix for issue 177. To be tested and ported to all other languages if OK

This commit is contained in:
bsongis
2013-11-01 18:55:42 +00:00
parent 4f690f33e3
commit 3a1c4b1379
+1 -1
View File
@@ -102,7 +102,7 @@ I18N_PLAY_FUNCTION(en, playNumber, getvalue_t number, uint8_t unit, uint8_t att)
}
}
#if defined(CPUARM)
if (unit == UNIT_METERS && number >= 100 && (att & PREC1)) {
if ((att & PREC1) && (unit == UNIT_FEET || (unit == UNIT_METERS && number >= 100))) {
number /= 10;
att -= PREC1;
}