summaryrefslogtreecommitdiff
path: root/apps/plugins/fractals/mandelbrot_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/fractals/mandelbrot_set.c')
-rw-r--r--apps/plugins/fractals/mandelbrot_set.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/plugins/fractals/mandelbrot_set.c b/apps/plugins/fractals/mandelbrot_set.c
index 077858d24f..fdd741d658 100644
--- a/apps/plugins/fractals/mandelbrot_set.c
+++ b/apps/plugins/fractals/mandelbrot_set.c
@@ -25,9 +25,9 @@
25#define BUTTON_YIELD_TIMEOUT (HZ / 4) 25#define BUTTON_YIELD_TIMEOUT (HZ / 4)
26 26
27#ifdef USEGSLIB 27#ifdef USEGSLIB
28unsigned char imgbuffer[LCD_HEIGHT]; 28static unsigned char imgbuffer[LCD_HEIGHT];
29#else 29#else
30fb_data imgbuffer[LCD_HEIGHT]; 30static fb_data imgbuffer[LCD_HEIGHT];
31#endif 31#endif
32 32
33/* 8 entries cyclical, last entry is black (convergence) */ 33/* 8 entries cyclical, last entry is black (convergence) */
@@ -60,9 +60,7 @@ static const unsigned char color[9] = {
60#define MB_XFAC (MB_YFAC*LCD_WIDTH/MB_HEIGHT) 60#define MB_XFAC (MB_YFAC*LCD_WIDTH/MB_HEIGHT)
61#endif 61#endif
62 62
63#if (LCD_DEPTH < 8) 63#ifndef USEGSLIB
64#define USEGSLIB
65#else
66#define UPDATE_FREQ (HZ/50) 64#define UPDATE_FREQ (HZ/50)
67#endif 65#endif
68 66