aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/touchpad.h5
-rw-r--r--src/touchpad.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/include/touchpad.h b/include/touchpad.h
index 469144b1..b07c4dc4 100644
--- a/include/touchpad.h
+++ b/include/touchpad.h
@@ -83,11 +83,6 @@ void tpCalibrate(void);
uint16_t tpReadZ(void);
#endif
-#if TOUCHPAD_STORE_CALIBRATION
- extern void lld_tpWriteCalibration(struct cal_t cal);
- extern struct cal_t lld_tpReadCalibration(void);
-#endif
-
#ifdef __cplusplus
}
#endif
diff --git a/src/touchpad.c b/src/touchpad.c
index b38283c2..164e4a36 100644
--- a/src/touchpad.c
+++ b/src/touchpad.c
@@ -32,6 +32,11 @@
#if HAL_USE_TOUCHPAD || defined(__DOXYGEN__)
+#if TOUCHPAD_STORE_CALIBRATION
+extern void lld_tpWriteCalibration(struct cal_t cal);
+extern struct cal_t lld_tpReadCalibration(void);
+#endif
+
/*===========================================================================*/
/* Driver local definitions. */
/*===========================================================================*/