aboutsummaryrefslogtreecommitdiff
path: root/keyboards/pica40/rev2/rev2.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pica40/rev2/rev2.c')
-rw-r--r--keyboards/pica40/rev2/rev2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/pica40/rev2/rev2.c b/keyboards/pica40/rev2/rev2.c
index 0ba9a53734..b5d79508fc 100644
--- a/keyboards/pica40/rev2/rev2.c
+++ b/keyboards/pica40/rev2/rev2.c
@@ -6,8 +6,8 @@
#ifdef ENCODER_ENABLE // code based on encoder.c
-#define ENCODER_PIN_A (((pin_t[])ENCODERS_PAD_A)[0])
-#define ENCODER_PIN_B (((pin_t[])ENCODERS_PAD_B)[0])
+#define ENCODER_PIN_A (((pin_t[])ENCODER_A_PINS)[0])
+#define ENCODER_PIN_B (((pin_t[])ENCODER_B_PINS)[0])
// custom handler that returns encoder B pin status from slave side
void encoder_sync_slave_handler(uint8_t in_buflen, const void *in_data, uint8_t out_buflen, void *out_data) {