diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-11-17 14:05:23 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-11-17 14:05:23 +0100 |
commit | 8515ed53f517eb497ca619ec2c24429a9dcd580e (patch) | |
tree | d3ea57c1abc3747d353fcb600988d4cde1eea4d0 /src | |
parent | 04cb37f834bf2ba60c25d1f8d315a9462ad77f50 (diff) | |
download | uGFX-8515ed53f517eb497ca619ec2c24429a9dcd580e.tar.gz uGFX-8515ed53f517eb497ca619ec2c24429a9dcd580e.tar.bz2 uGFX-8515ed53f517eb497ca619ec2c24429a9dcd580e.zip |
more SSD1289 and touchscreen workaround
Diffstat (limited to 'src')
-rw-r--r-- | src/touchscreen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/touchscreen.c b/src/touchscreen.c index 14eba4c5..7b562c32 100644 --- a/src/touchscreen.c +++ b/src/touchscreen.c @@ -294,7 +294,10 @@ void tsCalibrate(void) { int32_t px, py;
uint8_t i, j;
+ #if GDISP_NEED_CONTROL
gdispSetOrientation(GDISP_ROTATE_0);
+ #endif
+
gdispClear(Blue);
gdispFillStringBox(0, 5, gdispGetWidth(), 30, "Calibration", &fontUI2Double, White, Blue, justifyCenter);
|