diff options
Diffstat (limited to 'apps/plugins/bounce.c')
-rw-r--r-- | apps/plugins/bounce.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c index 3a44a4cc46..487965a4cf 100644 --- a/apps/plugins/bounce.c +++ b/apps/plugins/bounce.c | |||
@@ -230,7 +230,7 @@ struct counter values[]={ | |||
230 | {"ydist", -6}, | 230 | {"ydist", -6}, |
231 | }; | 231 | }; |
232 | 232 | ||
233 | #ifdef HAVE_RTC | 233 | #ifdef CONFIG_RTC |
234 | static unsigned char yminute[]={ | 234 | static unsigned char yminute[]={ |
235 | 53,53,52,52,51,50,49,47,46,44,42,40,38,36,34,32,29,27,25,23,21,19,17,16,14,13,12,11,11,10,10,10,11,11,12,13,14,16,17,19,21,23,25,27,29,31,34,36,38,40,42,44,46,47,49,50,51,52,52,53, | 235 | 53,53,52,52,51,50,49,47,46,44,42,40,38,36,34,32,29,27,25,23,21,19,17,16,14,13,12,11,11,10,10,10,11,11,12,13,14,16,17,19,21,23,25,27,29,31,34,36,38,40,42,44,46,47,49,50,51,52,52,53, |
236 | }; | 236 | }; |
@@ -277,7 +277,7 @@ static void addclock(void) | |||
277 | yminute[(i+1)%60]); | 277 | yminute[(i+1)%60]); |
278 | } | 278 | } |
279 | } | 279 | } |
280 | #endif /* HAVE_RTC */ | 280 | #endif /* CONFIG_RTC */ |
281 | 281 | ||
282 | #define DRAW_WIDTH (LCD_WIDTH + LETTER_WIDTH*2) | 282 | #define DRAW_WIDTH (LCD_WIDTH + LETTER_WIDTH*2) |
283 | 283 | ||
@@ -330,7 +330,7 @@ static int scrollit(void) | |||
330 | yy += YADD; | 330 | yy += YADD; |
331 | xx+= DRAW_WIDTH/LETTERS_ON_SCREEN; | 331 | xx+= DRAW_WIDTH/LETTERS_ON_SCREEN; |
332 | } | 332 | } |
333 | #ifdef HAVE_RTC | 333 | #ifdef CONFIG_RTC |
334 | addclock(); | 334 | addclock(); |
335 | #endif | 335 | #endif |
336 | rb->lcd_update(); | 336 | rb->lcd_update(); |
@@ -385,7 +385,7 @@ static int loopit(void) | |||
385 | x+= speed[xsanke&15] + values[NUM_XADD].num; | 385 | x+= speed[xsanke&15] + values[NUM_XADD].num; |
386 | 386 | ||
387 | rb->lcd_clear_display(); | 387 | rb->lcd_clear_display(); |
388 | #ifdef HAVE_RTC | 388 | #ifdef CONFIG_RTC |
389 | addclock(); | 389 | addclock(); |
390 | #endif | 390 | #endif |
391 | if(timeout) { | 391 | if(timeout) { |