1
0
Fork 0
forked from len0rd/rockbox

Ooops, I declared a variable in the middle of the code. Shame on me.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4771 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Kjell Ericson 2004-06-18 10:08:32 +00:00
parent 8586786d98
commit 87d064d9d1

View file

@ -186,6 +186,7 @@ static int run_timer(int nr)
while (!done) {
int button;
long now;
if (ticks>max_ticks) {
if (round_time)
rb->lcd_puts(0, 1, "ROUND UP!");
@ -201,7 +202,7 @@ static int run_timer(int nr)
}
*/
rb->lcd_puts(0, 0, player_info);
long now=*rb->current_tick;
now=*rb->current_tick;
if (!pause) {
ticks+=now-last_tick;
if ((max_ticks-ticks)/HZ == 10) {