diff options
Diffstat (limited to 'apps/plugins/greyscale.c')
| -rw-r--r-- | apps/plugins/greyscale.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/greyscale.c b/apps/plugins/greyscale.c index 3325443..0069971 100644 --- a/apps/plugins/greyscale.c +++ b/apps/plugins/greyscale.c @@ -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); |