From 995c9835c282e8904ff918e325f0491249bdcc89 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 9 Nov 2012 23:10:38 +0100 Subject: [PATCH] small macro update --- src/touchpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/touchpad.c b/src/touchpad.c index 5b8d112e..f06365f7 100644 --- a/src/touchpad.c +++ b/src/touchpad.c @@ -303,7 +303,7 @@ void tpCalibrate(void) { gdispFillStringBox(0, 5, gdispGetWidth(), 30, "Calibration", &fontUI2Double, White, Blue, justifyCenter); -#if defined(TOUCHPAD_VERIFY_CALIBRATION) +#if TOUCHPAD_VERIFY_CALIBRATION calibrate: for(i = 0; i < 4; i++) { #else @@ -345,7 +345,7 @@ calibrate: /* Apply 3 point calibration algorithm */ _tpDo3PointCalibration(cross, points, cal); -#if defined(TOUCHPAD_VERIFY_CALIBRATION) +#if TOUCHPAD_VERIFY_CALIBRATION /* Verification of correctness of calibration (optional) : * See if the 4th point (Middle of the screen) coincides with the calibrated * result. If point is with +/- 2 pixel margin, then successful calibration