aboutsummaryrefslogtreecommitdiffstats
path: root/touchpad.c
diff options
context:
space:
mode:
authorThomas Saunders <trsaunders@gmail.com>2012-06-25 18:51:35 +0100
committerThomas Saunders <trsaunders@gmail.com>2012-06-25 18:51:35 +0100
commita51bb1bf5f298168d9b0964bf3a68a1090f8d00c (patch)
treef0b18420fce805300fbb58388f6e7171bba4b9e4 /touchpad.c
parent79f7278f3df0c377390653fdab3496371fb1cc66 (diff)
downloaduGFX-a51bb1bf5f298168d9b0964bf3a68a1090f8d00c.tar.gz
uGFX-a51bb1bf5f298168d9b0964bf3a68a1090f8d00c.tar.bz2
uGFX-a51bb1bf5f298168d9b0964bf3a68a1090f8d00c.zip
merge Abhishek's changes, small fixes for API changes
Diffstat (limited to 'touchpad.c')
-rw-r--r--touchpad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/touchpad.c b/touchpad.c
index 3f355ead..4829ed4a 100644
--- a/touchpad.c
+++ b/touchpad.c
@@ -126,8 +126,8 @@ void tpCalibrate(void) {
lcdSetOrientation(portrait);
lcdClear(Red);
- cx=40; cy=10;
- lcdDrawString(40, 10, "Touchpad Calibration", White, Red);
+ /* Abhishek: need to specify a font to use here, should probably make sure it exists somehow */
+ lcdDrawString(40, 10, "Touchpad Calibration", font_Larger, White, Red, solid);
for(i=0; i<2; i++) {
tpDrawCross(cross[i][0], cross[i][1]);