aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-11-16 01:51:32 +1000
committerinmarket <andrewh@inmarket.com.au>2013-11-16 01:51:32 +1000
commitdb74e7c8231aebc10e4cb6a13c986591b64b3c3c (patch)
treea26172d5d6aced7b94b83abe6f2e4929cf17b7b6 /demos
parentc726de8521280e40220642f46de4d5cc0c5d4640 (diff)
downloaduGFX-db74e7c8231aebc10e4cb6a13c986591b64b3c3c.tar.gz
uGFX-db74e7c8231aebc10e4cb6a13c986591b64b3c3c.tar.bz2
uGFX-db74e7c8231aebc10e4cb6a13c986591b64b3c3c.zip
Remove orientation changes in demos because this is now handled by using GDISP_DEFAULT_ORIENTATION.
Diffstat (limited to 'demos')
-rw-r--r--demos/modules/gdisp/streaming/main.c3
-rw-r--r--demos/modules/gwin/widgets/main.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/demos/modules/gdisp/streaming/main.c b/demos/modules/gdisp/streaming/main.c
index 4ad48b6c..33b69c91 100644
--- a/demos/modules/gdisp/streaming/main.c
+++ b/demos/modules/gdisp/streaming/main.c
@@ -64,9 +64,6 @@ int main(void) {
float ii, spin, dy, spinspeed, h, f, g;
gfxInit();
- #if GDISP_NEED_CONTROL
- gdispSetOrientation(GDISP_ROTATE_90);
- #endif
width = gdispGetWidth();
height = gdispGetHeight();
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c
index 2b14d79e..a6d398aa 100644
--- a/demos/modules/gwin/widgets/main.c
+++ b/demos/modules/gwin/widgets/main.c
@@ -272,10 +272,6 @@ int main(void) {
gwinAttachMouse(0);
#endif
- #if GDISP_NEED_CONTROL
- gdispSetOrientation(GDISP_ROTATE_90);
- #endif
-
// Create the gwin windows/widgets
createWidgets();