diff --git a/touchpad.h b/touchpad.h index abf710e1..c401415e 100644 --- a/touchpad.h +++ b/touchpad.h @@ -9,8 +9,8 @@ #define CONVERSIONS 3 -#define TP_CS_HIGH palSetPad(TP_PORT, TP_CS) -#define TP_CS_LOW palClearPad(TP_PORT, TP_CS) +#define TP_CS_HIGH palSetPad(TP_CS_PORT, TP_CS) +#define TP_CS_LOW palClearPad(TP_CS_PORT, TP_CS) struct cal { float xm;