aboutsummaryrefslogtreecommitdiffstats
path: root/demos/applications/mandelbrot/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/applications/mandelbrot/main.c')
-rw-r--r--demos/applications/mandelbrot/main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/demos/applications/mandelbrot/main.c b/demos/applications/mandelbrot/main.c
index 969a9c92..9d753a87 100644
--- a/demos/applications/mandelbrot/main.c
+++ b/demos/applications/mandelbrot/main.c
@@ -25,8 +25,6 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "ch.h"
-#include "hal.h"
#include "gfx.h"
void mandelbrot(float x1, float y1, float x2, float y2) {
@@ -66,10 +64,7 @@ int main(void) {
float cx, cy;
float zoom = 1.0f;
- halInit();
- chSysInit();
-
- gdispInit();
+ gfxInit();
/* where to zoom in */
cx = -0.086f;