[all] Fix for issue 177. To be tested and ported to all other languages if OK
This commit is contained in:
@@ -102,7 +102,7 @@ I18N_PLAY_FUNCTION(en, playNumber, getvalue_t number, uint8_t unit, uint8_t att)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
if (unit == UNIT_METERS && number >= 100 && (att & PREC1)) {
|
if ((att & PREC1) && (unit == UNIT_FEET || (unit == UNIT_METERS && number >= 100))) {
|
||||||
number /= 10;
|
number /= 10;
|
||||||
att -= PREC1;
|
att -= PREC1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user