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; test_2 =number % 10;
int ten=0; int ten=0;
ten=(number - (number % 10))/10; 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); PUSH_NUMBER_PROMPT(unitprompt+1);
else else
PUSH_NUMBER_PROMPT(unitprompt+2); 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) { switch(unit) {
case 0: case 0:
break; break;
// ft/s
case 6:
// mph
case 8:
// feet
case 10: case 10:
case 13: //mAh
case 15: case 14:
case 16: //flOz
case 17: case 21:
att = ZENSKI; att = ZENSKI;
break; break;
case 100: case 100: