diff options
Diffstat (limited to 'apps/plugins/fractals/mandelbrot_set.c')
-rw-r--r-- | apps/plugins/fractals/mandelbrot_set.c | 8 |
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 |
28 | unsigned char imgbuffer[LCD_HEIGHT]; | 28 | static unsigned char imgbuffer[LCD_HEIGHT]; |
29 | #else | 29 | #else |
30 | fb_data imgbuffer[LCD_HEIGHT]; | 30 | static 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 | ||