Browse Source

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

remotes/origin_old/ugfx_release_2.6
inmarket 9 years ago
parent
commit
db74e7c823
  1. 3
      demos/modules/gdisp/streaming/main.c
  2. 4
      demos/modules/gwin/widgets/main.c

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

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

Loading…
Cancel
Save