diff options
Diffstat (limited to 'apps/plugins/mandelbrot.c')
| -rw-r--r-- | apps/plugins/mandelbrot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mandelbrot.c b/apps/plugins/mandelbrot.c index dbcf08f..20baca7 100644 --- a/apps/plugins/mandelbrot.c +++ b/apps/plugins/mandelbrot.c @@ -487,7 +487,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) /* initialize the grayscale buffer: * 8 bitplanes for 9 shades of gray.*/ - grayscales = gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT/8, + grayscales = gray_init(rb, gbuf, gbuf_size, false, LCD_WIDTH, LCD_HEIGHT, 8, 0, NULL) + 1; if (grayscales != 9) { rb->snprintf(buff, sizeof(buff), "%d", grayscales); |