Meters in PREC1 should not be played as Feet in PREC1 (all languages)
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user