aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/button/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/modules/gwin/button/main.c')
-rw-r--r--demos/modules/gwin/button/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/button/main.c b/demos/modules/gwin/button/main.c
index 6e766e74..ab70d1a0 100644
--- a/demos/modules/gwin/button/main.c
+++ b/demos/modules/gwin/button/main.c
@@ -52,13 +52,13 @@ static void createWidgets(void) {
int main(void) {
GEvent* pe;
- static const orientation_t orients[] = { GDISP_ROTATE_0, GDISP_ROTATE_90, GDISP_ROTATE_180, GDISP_ROTATE_270 };
+ static const gOrientation orients[] = { gOrientation0, gOrientation90, gOrientation180, gOrientation270 };
unsigned which;
// Initialize the display
gfxInit();
- // We are currently at GDISP_ROTATE_0
+ // We are currently at gOrientation0
which = 0;
gdispSetOrientation(orients[which]);