summaryrefslogtreecommitdiff
path: root/apps/plugins/greyscale.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/greyscale.c')
-rw-r--r--apps/plugins/greyscale.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/greyscale.c b/apps/plugins/greyscale.c
index 33254439b6..00699715f7 100644
--- a/apps/plugins/greyscale.c
+++ b/apps/plugins/greyscale.c
@@ -120,7 +120,6 @@
120/******************************* Globals ***********************************/ 120/******************************* Globals ***********************************/
121 121
122GREY_INFO_STRUCT 122GREY_INFO_STRUCT
123static char pbuf[32]; /* global printf buffer */
124static unsigned char *gbuf; 123static unsigned char *gbuf;
125static size_t gbuf_size = 0; 124static size_t gbuf_size = 0;
126 125
@@ -298,9 +297,7 @@ int main(void)
298 297
299 time = *rb->current_tick - time; /* end time measurement */ 298 time = *rb->current_tick - time; /* end time measurement */
300 299
301 rb->snprintf(pbuf, sizeof(pbuf), "Shades: 129, %d.%02ds", 300 rb->lcd_putsf(0, 0, "Shades: 129, %d.%02ds", time / 100, time % 100);
302 time / 100, time % 100);
303 rb->lcd_puts(0, 0, pbuf);
304 grey_deferred_lcd_update(); /* schedule an lcd_update() */ 301 grey_deferred_lcd_update(); /* schedule an lcd_update() */
305#ifdef HAVE_ADJUSTABLE_CPU_FREQ 302#ifdef HAVE_ADJUSTABLE_CPU_FREQ
306 rb->cpu_boost(false); 303 rb->cpu_boost(false);