aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoel Bodenmann <joel.bodenmann@hevs.ch>2012-10-23 02:34:20 +0200
committerJoel Bodenmann <joel.bodenmann@hevs.ch>2012-10-23 02:34:20 +0200
commit8da73efced9b016ef82b2540d1926229c51f3fb0 (patch)
tree59d7426e0feec4cf7088dd6f6f8961d3a61f6213 /src
parenta4a815f6f3fdb0183a2263ef39622b779cb16946 (diff)
downloaduGFX-8da73efced9b016ef82b2540d1926229c51f3fb0.tar.gz
uGFX-8da73efced9b016ef82b2540d1926229c51f3fb0.tar.bz2
uGFX-8da73efced9b016ef82b2540d1926229c51f3fb0.zip
SSD1289 setViewPort bugfix
Diffstat (limited to 'src')
-rw-r--r--src/touchpad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/touchpad.c b/src/touchpad.c
index 0718e484..e4312bc8 100644
--- a/src/touchpad.c
+++ b/src/touchpad.c
@@ -214,6 +214,7 @@ void tpCalibrate(void) {
uint16_t points[2][2];
uint8_t i;
+ gdispSetOrientation(GDISP_ROTATE_0);
gdispClear(Red);
gdispFillStringBox(0, 10, gdispGetWidth(), 30, "Calibration", &fontUI2Double, White, Red, justifyCenter);