From 5b897baae7d6c102e73176e2229b19c70839a26e Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 11 Oct 2014 17:45:53 +0200 Subject: [PATCH] Added missing defines to board template of ADS7843 --- .../touch/ADS7843/gmouse_lld_ADS7843_board_template.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h b/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h index 2e3dee65..7b762310 100644 --- a/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h +++ b/drivers/ginput/touch/ADS7843/gmouse_lld_ADS7843_board_template.h @@ -8,6 +8,13 @@ #ifndef _GINPUT_LLD_MOUSE_BOARD_H #define _GINPUT_LLD_MOUSE_BOARD_H +#define GMOUSE_ADS7843_PEN_CALIBRATE_ERROR 2 +#define GMOUSE_ADS7843_PEN_CLICK_ERROR 2 +#define GMOUSE_ADS7843_PEN_MOVE_ERROR 2 +#define GMOUSE_ADS7843_FINGER_CALIBRATE_ERROR 4 +#define GMOUSE_ADS7843_FINGER_CLICK_ERROR 4 +#define GMOUSE_ADS7843_FINGER_MOVE_ERROR 4 + static bool_t init_board(GMouse* m, unsigned driverinstance) { }