From 7021da1b9e5306db27f8b7c86d75c82652dfb8c0 Mon Sep 17 00:00:00 2001 From: Tectu Date: Wed, 22 Aug 2012 10:05:38 +0200 Subject: [PATCH] gdispSetOrientation() bugfix (by inmarket) --- include/gdisp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gdisp.h b/include/gdisp.h index b5a59cf9..61f851cc 100644 --- a/include/gdisp.h +++ b/include/gdisp.h @@ -245,7 +245,7 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color); /* Macro definitions for common gets and sets */ #define gdispSetPowerMode(powerMode) gdispControl(GDISP_CONTROL_POWER, (void *)(unsigned)(powerMode)) -#define gdispSetOrientation(newOrientation) gdispControl(GDISP_CONTROL_ORITENTATION, (void *)(unsigned)(newOrientation)) +#define gdispSetOrientation(newOrientation) gdispControl(GDISP_CONTROL_ORIENTATION, (void *)(unsigned)(newOrientation)) #define gdispSetBacklight(percent) gdispControl(GDISP_CONTROL_BACKLIGHT, (void *)(unsigned)(percent)) #define gdispSetContrast(percent) gdispControl(GDISP_CONTROL_CONTRAST, (void *)(unsigned)(percent))