aboutsummaryrefslogtreecommitdiffstats
path: root/src/ginput
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-09-28 01:44:41 +1000
committerinmarket <andrewh@inmarket.com.au>2014-09-28 01:44:41 +1000
commit7cceda585defd3fd1ea1802095660c16d3a4ece2 (patch)
tree2b27ec34da5cf76bd1189fd976839cd500b0314f /src/ginput
parentd4eaafce109dfe2088ef2a8346b74694ca246af0 (diff)
downloaduGFX-7cceda585defd3fd1ea1802095660c16d3a4ece2.tar.gz
uGFX-7cceda585defd3fd1ea1802095660c16d3a4ece2.tar.bz2
uGFX-7cceda585defd3fd1ea1802095660c16d3a4ece2.zip
Fix newmouse compiler warning
Diffstat (limited to 'src/ginput')
-rw-r--r--src/ginput/ginput_mouse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ginput/ginput_mouse.c b/src/ginput/ginput_mouse.c
index ee6555b2..4e2bc2dd 100644
--- a/src/ginput/ginput_mouse.c
+++ b/src/ginput/ginput_mouse.c
@@ -52,9 +52,7 @@ static GTIMER_DECL(MouseTimer);
// Calibration application
#if !GINPUT_TOUCH_NOCALIBRATE
- #if GINPUT_TOUCH_USER_CALIBRATION_LOAD
- #include <string.h> // Required for memcpy
- #endif
+ #include <string.h> // Required for memcpy
static inline void CalibrationTransform(GMouseReading *pt, const GMouseCalibration *c) {
pt->x = (coord_t) (c->ax * pt->x + c->bx * pt->y + c->cx);