Fix newmouse compiler warning

ugfx_release_2.6
inmarket 2014-09-28 01:44:41 +10:00
parent d4eaafce10
commit 7cceda585d
1 changed files with 1 additions and 3 deletions

View File

@ -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);