Remove orientation changes in demos because this is now handled by using GDISP_DEFAULT_ORIENTATION.

ugfx_release_2.6
inmarket 2013-11-16 01:51:32 +10:00
parent c726de8521
commit db74e7c823
2 changed files with 0 additions and 7 deletions

View File

@ -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();

View File

@ -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();