From 5fb269b2b49f31dcee34e3e088ef77cd016d0450 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 15 Mar 2022 00:57:44 +1100 Subject: keebio/iris: Add ifdefs to encoder callbacks (#16642) --- keyboards/keebio/iris/rev5/rev5.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keyboards/keebio/iris/rev5/rev5.c') diff --git a/keyboards/keebio/iris/rev5/rev5.c b/keyboards/keebio/iris/rev5/rev5.c index 2a89c6923b..b597c05de8 100644 --- a/keyboards/keebio/iris/rev5/rev5.c +++ b/keyboards/keebio/iris/rev5/rev5.c @@ -13,6 +13,7 @@ along with this program. If not, see . */ #include "rev5.h" +#ifdef ENCODER_ENABLE bool encoder_update_kb(uint8_t index, bool clockwise) { if (!encoder_update_user(index, clockwise)) { return false; } if (index == 0) { @@ -30,3 +31,4 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { } return false; } +#endif -- cgit v1.2.3