summaryrefslogtreecommitdiff
path: root/apps/plugins/mandelbrot.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mandelbrot.c')
-rw-r--r--apps/plugins/mandelbrot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mandelbrot.c b/apps/plugins/mandelbrot.c
index bd0994a5ba..3841e2625a 100644
--- a/apps/plugins/mandelbrot.c
+++ b/apps/plugins/mandelbrot.c
@@ -474,7 +474,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
474 /* initialize the grayscale buffer: 474 /* initialize the grayscale buffer:
475 * 8 bitplanes for 9 shades of gray.*/ 475 * 8 bitplanes for 9 shades of gray.*/
476 grayscales = gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT/8, 476 grayscales = gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT/8,
477 8, NULL) + 1; 477 8, 0, NULL) + 1;
478 if (grayscales != 9) { 478 if (grayscales != 9) {
479 rb->snprintf(buff, sizeof(buff), "%d", grayscales); 479 rb->snprintf(buff, sizeof(buff), "%d", grayscales);
480 rb->lcd_puts(0, 1, buff); 480 rb->lcd_puts(0, 1, buff);