Skip to content

Commit

Permalink
Initialize last touch with current time
Browse files Browse the repository at this point in the history
  • Loading branch information
myfluxi committed Jul 3, 2012
1 parent a7b6537 commit 8dc6196
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ static void draw_screen_locked(void)
draw_background_locked(gCurrentIcon);
draw_progress_locked();
check_touch_disable();
last_touch = now_msec();

if (show_text) {
gr_color(0, 0, 0, 160);
Expand Down

0 comments on commit 8dc6196

Please sign in to comment.