diff options
Diffstat (limited to 'apps')
-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 6e28f55b57..8474969650 100644 --- a/apps/plugins/mandelbrot.c +++ b/apps/plugins/mandelbrot.c | |||
@@ -168,7 +168,7 @@ void recalc_parameters(void) | |||
168 | y_step = (y_max - y_min) / LCD_HEIGHT; | 168 | y_step = (y_max - y_min) / LCD_HEIGHT; |
169 | y_delta = MUL64(y_step, (LCD_HEIGHT/8)); | 169 | y_delta = MUL64(y_step, (LCD_HEIGHT/8)); |
170 | step_log2 = MIN(ilog2_fp(x_step), ilog2_fp(y_step)); | 170 | step_log2 = MIN(ilog2_fp(x_step), ilog2_fp(y_step)); |
171 | max_iter = MAX(10, 10 - 15 * step_log2); | 171 | max_iter = MAX(10, -15 * step_log2 - 50); |
172 | } | 172 | } |
173 | 173 | ||
174 | void init_mandelbrot_set(void) | 174 | void init_mandelbrot_set(void) |