summaryrefslogtreecommitdiff
path: root/apps/plugins/bounce.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/bounce.c')
-rw-r--r--apps/plugins/bounce.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c
index 46d9d88b21..c5c9dad83c 100644
--- a/apps/plugins/bounce.c
+++ b/apps/plugins/bounce.c
@@ -271,7 +271,7 @@ struct counter values[]={
271 {"ydist", -6}, 271 {"ydist", -6},
272}; 272};
273 273
274#ifdef CONFIG_RTC 274#if CONFIG_RTC
275 275
276#define CLOCK_STEP (0xffffffff/60) 276#define CLOCK_STEP (0xffffffff/60)
277#define CLOCK_FRAC (0xffffffff%60) 277#define CLOCK_FRAC (0xffffffff%60)
@@ -382,7 +382,7 @@ static int scrollit(void)
382 return -1; 382 return -1;
383 } 383 }
384 rb->lcd_clear_display(); 384 rb->lcd_clear_display();
385#ifdef CONFIG_RTC 385#if CONFIG_RTC
386 addclock(); 386 addclock();
387#endif 387#endif
388 388
@@ -451,7 +451,7 @@ static int loopit(void)
451 x+= speed[xsanke&15] + values[NUM_XADD].num; 451 x+= speed[xsanke&15] + values[NUM_XADD].num;
452 452
453 rb->lcd_clear_display(); 453 rb->lcd_clear_display();
454#ifdef CONFIG_RTC 454#if CONFIG_RTC
455 addclock(); 455 addclock();
456#endif 456#endif
457 if(timeout) { 457 if(timeout) {
@@ -516,7 +516,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
516 rb->sleep(HZ); 516 rb->sleep(HZ);
517 rb->lcd_set_drawmode(DRMODE_FG); 517 rb->lcd_set_drawmode(DRMODE_FG);
518 init_tables(); 518 init_tables();
519#ifdef CONFIG_RTC 519#if CONFIG_RTC
520 init_clock(); 520 init_clock();
521#endif 521#endif
522 522