diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-28 21:46:45 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-28 21:46:45 +0000 |
commit | ab9fd1840b8025336081bd72fb9dbaea7b9909dd (patch) | |
tree | 4c410bffcf1a9de2ce55a59bef45e3ecfa183a62 /apps/plugins/bounce.c | |
parent | 8418a2c94a97da1d6f42f21dc348aadd1e177d77 (diff) | |
download | rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.tar.gz rockbox-ab9fd1840b8025336081bd72fb9dbaea7b9909dd.zip |
plugins: use lcd_putsf/lcd_putsxyf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bounce.c')
-rw-r--r-- | apps/plugins/bounce.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c index 1ee5b1eaeb..abc551ff0a 100644 --- a/apps/plugins/bounce.c +++ b/apps/plugins/bounce.c | |||
@@ -582,7 +582,6 @@ static int loopit(void) | |||
582 | 582 | ||
583 | int show=0; | 583 | int show=0; |
584 | int timeout=0; | 584 | int timeout=0; |
585 | char buffer[30]; | ||
586 | 585 | ||
587 | rb->lcd_clear_display(); | 586 | rb->lcd_clear_display(); |
588 | while(1) | 587 | while(1) |
@@ -628,9 +627,8 @@ static int loopit(void) | |||
628 | show=NUM_LAST-1; | 627 | show=NUM_LAST-1; |
629 | break; | 628 | break; |
630 | } | 629 | } |
631 | rb->snprintf(buffer, 30, "%s: %d", | 630 | rb->lcd_putsxyf(0, LCD_HEIGHT - 8, "%s: %d", |
632 | values[show].what, values[show].num); | 631 | values[show].what, values[show].num); |
633 | rb->lcd_putsxy(0, LCD_HEIGHT - 8, (unsigned char *)buffer); | ||
634 | timeout--; | 632 | timeout--; |
635 | } | 633 | } |
636 | for(i=0, yy=y, xx=x; | 634 | for(i=0, yy=y, xx=x; |