diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/tetris.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/recorder/tetris.c b/apps/recorder/tetris.c index d15896030b..572dab2055 100644 --- a/apps/recorder/tetris.c +++ b/apps/recorder/tetris.c | |||
@@ -350,7 +350,7 @@ void game_loop(void) | |||
350 | move_down(); | 350 | move_down(); |
351 | } | 351 | } |
352 | count++; | 352 | count++; |
353 | sleep(10); | 353 | sleep(HZ/10); |
354 | } | 354 | } |
355 | if(gameover()) { | 355 | if(gameover()) { |
356 | int w, h; | 356 | int w, h; |
@@ -362,7 +362,7 @@ void game_loop(void) | |||
362 | lcd_putsxy(TETRIS_TITLE_XLOC, TETRIS_TITLE_YLOC, "You lose!", | 362 | lcd_putsxy(TETRIS_TITLE_XLOC, TETRIS_TITLE_YLOC, "You lose!", |
363 | TETRIS_TITLE_FONT); | 363 | TETRIS_TITLE_FONT); |
364 | lcd_update(); | 364 | lcd_update(); |
365 | sleep(2); | 365 | sleep(HZ); |
366 | return; | 366 | return; |
367 | } | 367 | } |
368 | move_down(); | 368 | move_down(); |