aboutsummaryrefslogtreecommitdiffstats
path: root/demos/applications/mandelbrot/main.c
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-12-06 18:45:54 +1000
committerAndrew Hannam <andrewh@inmarket.com.au>2012-12-06 18:45:54 +1000
commit07f34835358ef65de310934ae726b66c7ca46f68 (patch)
tree6b6875cc38f19bc1dd41b3b7edc8ea10ab7dbc84 /demos/applications/mandelbrot/main.c
parente236a0a6b79ccd4446df72256740913392cf12f7 (diff)
downloaduGFX-07f34835358ef65de310934ae726b66c7ca46f68.tar.gz
uGFX-07f34835358ef65de310934ae726b66c7ca46f68.tar.bz2
uGFX-07f34835358ef65de310934ae726b66c7ca46f68.zip
Restructure
Create global include file called gfx.h which knows about sub-system dependancies. Deprecate Touchscreen (GINPUT touch is now working properly) Merge Graph into GWIN Change directory structure to reflect sub-system structure Many small bugs fixed Split Nokia6610 gdisp driver into GE8 and GE12 controller versions Fixed broken demos. GFX sub-systems are now clearly defined and new ones should be much easier to add.
Diffstat (limited to 'demos/applications/mandelbrot/main.c')
-rw-r--r--demos/applications/mandelbrot/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/applications/mandelbrot/main.c b/demos/applications/mandelbrot/main.c
index 6ab19de1..2fe1141d 100644
--- a/demos/applications/mandelbrot/main.c
+++ b/demos/applications/mandelbrot/main.c
@@ -20,7 +20,7 @@
#include "ch.h"
#include "hal.h"
-#include "gdisp.h"
+#include "gfx.h"
void mandelbrot(float x1, float y1, float x2, float y2) {
unsigned int i,j, width, height;
@@ -63,7 +63,6 @@ int main(void) {
chSysInit();
gdispInit();
- gdispSetOrientation(GDISP_ROTATE_270);
/* where to zoom in */
cx = -0.086f;