PlayFunction Time was playing negative values (int16_t overflow)

This commit is contained in:
bsongis
2014-05-10 20:19:27 +02:00
parent 7de60763e5
commit 071890d900
11 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ I18N_PLAY_FUNCTION(de, playNumber, getvalue_t number, uint8_t unit, uint8_t att)
}
}
I18N_PLAY_FUNCTION(de, playDuration, int16_t seconds PLAY_DURATION_ATT)
I18N_PLAY_FUNCTION(de, playDuration, int seconds PLAY_DURATION_ATT)
{
if (seconds < 0) {
PUSH_NUMBER_PROMPT(DE_PROMPT_MINUS);