aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-06-03 18:15:49 +0200
committerTectu <joel@unormal.org>2012-06-03 18:15:49 +0200
commite1d479987a96f78ccbfe8287ef3e874749436b3e (patch)
treeafa80238b8986b45a74d17d2593d524f8df92fc8
parent20345ef765dbefff4ad776635419c999982457bc (diff)
downloaduGFX-e1d479987a96f78ccbfe8287ef3e874749436b3e.tar.gz
uGFX-e1d479987a96f78ccbfe8287ef3e874749436b3e.tar.bz2
uGFX-e1d479987a96f78ccbfe8287ef3e874749436b3e.zip
fixes
-rw-r--r--touchpad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/touchpad.c b/touchpad.c
index 0118952a..a4c3dcc5 100644
--- a/touchpad.c
+++ b/touchpad.c
@@ -116,6 +116,7 @@ void tpCalibrate(void) {
cal[i][0] = tpReadX();
cal[i][1] = tpReadY();
while(tpIRQ());
+ lcdDrawRect(cross[i][0]-15, cross[i][1]-15, cross[i][0]+16, cross[i][1]+16, 1, Red);
}
for(i=0, j=0; i<3; i++) {