summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/chessclock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c
index 897f05aebb..b647a0fa76 100644
--- a/apps/plugins/chessclock.c
+++ b/apps/plugins/chessclock.c
@@ -186,6 +186,7 @@ static int run_timer(int nr)
186 186
187 while (!done) { 187 while (!done) {
188 int button; 188 int button;
189 long now;
189 if (ticks>max_ticks) { 190 if (ticks>max_ticks) {
190 if (round_time) 191 if (round_time)
191 rb->lcd_puts(0, 1, "ROUND UP!"); 192 rb->lcd_puts(0, 1, "ROUND UP!");
@@ -201,7 +202,7 @@ static int run_timer(int nr)
201 } 202 }
202 */ 203 */
203 rb->lcd_puts(0, 0, player_info); 204 rb->lcd_puts(0, 0, player_info);
204 long now=*rb->current_tick; 205 now=*rb->current_tick;
205 if (!pause) { 206 if (!pause) {
206 ticks+=now-last_tick; 207 ticks+=now-last_tick;
207 if ((max_ticks-ticks)/HZ == 10) { 208 if ((max_ticks-ticks)/HZ == 10) {