Sound gramar fixes

This commit is contained in:
driver33
2015-08-25 19:26:37 +02:00
parent 710ed9c5d1
commit d00b9eb8ec
+10 -5
View File
@@ -88,7 +88,7 @@ I18N_PLAY_FUNCTION(pl, pushUnitPrompt, int16_t number, uint8_t unitprompt)
test_2 =number % 10;
int ten=0;
ten=(number - (number % 10))/10;
if ((test_2 > 1 && test_2 < 5) && ten >2)
if ((test_2 > 1 && test_2 < 5) && ten >=2)
PUSH_NUMBER_PROMPT(unitprompt+1);
else
PUSH_NUMBER_PROMPT(unitprompt+2);
@@ -149,11 +149,16 @@ I18N_PLAY_FUNCTION(pl, playNumber, getvalue_t number, uint8_t unit, uint8_t att)
switch(unit) {
case 0:
break;
// ft/s
case 6:
// mph
case 8:
// feet
case 10:
case 13:
case 15:
case 16:
case 17:
//mAh
case 14:
//flOz
case 21:
att = ZENSKI;
break;
case 100: