cleanup
This commit is contained in:
parent
57f41566b6
commit
7a20c79b15
@ -129,7 +129,7 @@ void tpCalibrate(void) {
|
|||||||
/* Abhishek: need to specify a font to use here, should probably make sure it exists somehow */
|
/* 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);
|
lcdDrawString(40, 10, "Touchpad Calibration", font_Larger, White, Red, solid);
|
||||||
|
|
||||||
for(i=0; i<2; i++) {
|
for(i = 0; i < 2; i++) {
|
||||||
tpDrawCross(cross[i][0], cross[i][1]);
|
tpDrawCross(cross[i][0], cross[i][1]);
|
||||||
while(!tpIRQ());
|
while(!tpIRQ());
|
||||||
points[i][0] = tpReadRealX();
|
points[i][0] = tpReadRealX();
|
||||||
|
Loading…
Reference in New Issue
Block a user