summaryrefslogtreecommitdiffstats
path: root/u-boot/board/goldelico/gta04/tsc2007.c
diff options
context:
space:
mode:
authorH. Nikolaus Schaller <hns@goldelico.com>2013-07-14 11:53:22 +0200
committerH. Nikolaus Schaller <hns@goldelico.com>2013-07-14 11:53:22 +0200
commit9ad40eb334c9c2b246203e0ae4a09913bba118db (patch)
treef6c2187f1077522f5916840ba905eba497876fe6 /u-boot/board/goldelico/gta04/tsc2007.c
parent6ed032c9ea0bd0a9247b5e5bc9f0be0e0d98c4b5 (diff)
downloadbootable_bootloader_goldelico_gta04-9ad40eb334c9c2b246203e0ae4a09913bba118db.zip
bootable_bootloader_goldelico_gta04-9ad40eb334c9c2b246203e0ae4a09913bba118db.tar.gz
bootable_bootloader_goldelico_gta04-9ad40eb334c9c2b246203e0ae4a09913bba118db.tar.bz2
fixed boot menu for gta04b3 screen size
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Diffstat (limited to 'u-boot/board/goldelico/gta04/tsc2007.c')
-rw-r--r--u-boot/board/goldelico/gta04/tsc2007.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/u-boot/board/goldelico/gta04/tsc2007.c b/u-boot/board/goldelico/gta04/tsc2007.c
index 11565df..5cdb952 100644
--- a/u-boot/board/goldelico/gta04/tsc2007.c
+++ b/u-boot/board/goldelico/gta04/tsc2007.c
@@ -201,6 +201,7 @@ int pendown(int *x, int *y)
if(x) *x=xx;
if(y) *y=yy;
udelay(10000); // reduce I2C traffic and debounce...
+ // FIXME: this is not correctly working on the b3 display at the bottom rows - there we get values > 50
return z > 200; // was pressed
#else
// must be in PENIRQ mode...