forked from len0rd/rockbox
plugins: use lcd_putsf/lcd_putsxyf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8418a2c94a
commit
ab9fd1840b
52 changed files with 173 additions and 412 deletions
|
@ -120,7 +120,6 @@
|
|||
/******************************* Globals ***********************************/
|
||||
|
||||
GREY_INFO_STRUCT
|
||||
static char pbuf[32]; /* global printf buffer */
|
||||
static unsigned char *gbuf;
|
||||
static size_t gbuf_size = 0;
|
||||
|
||||
|
@ -298,9 +297,7 @@ int main(void)
|
|||
|
||||
time = *rb->current_tick - time; /* end time measurement */
|
||||
|
||||
rb->snprintf(pbuf, sizeof(pbuf), "Shades: 129, %d.%02ds",
|
||||
time / 100, time % 100);
|
||||
rb->lcd_puts(0, 0, pbuf);
|
||||
rb->lcd_putsf(0, 0, "Shades: 129, %d.%02ds", time / 100, time % 100);
|
||||
grey_deferred_lcd_update(); /* schedule an lcd_update() */
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
rb->cpu_boost(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue