From db74e7c8231aebc10e4cb6a13c986591b64b3c3c Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 16 Nov 2013 01:51:32 +1000 Subject: [PATCH] Remove orientation changes in demos because this is now handled by using GDISP_DEFAULT_ORIENTATION. --- demos/modules/gdisp/streaming/main.c | 3 --- demos/modules/gwin/widgets/main.c | 4 ---- 2 files changed, 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();