summaryrefslogtreecommitdiff
path: root/keyboards/pica40/rev1/rev1.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/pica40/rev1/rev1.c')
-rw-r--r--keyboards/pica40/rev1/rev1.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/keyboards/pica40/rev1/rev1.c b/keyboards/pica40/rev1/rev1.c
index f008e4857a..fff89d48f2 100644
--- a/keyboards/pica40/rev1/rev1.c
+++ b/keyboards/pica40/rev1/rev1.c
@@ -1,7 +1,7 @@
// Copyright 2022 zzeneg (@zzeneg)
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "rev1.h"
+#include "quantum.h"
#ifdef PICA40_RGBLIGHT_TIMEOUT
@@ -77,15 +77,3 @@ bool oled_task_kb(void) {
}
#endif // OLED_ENABLE
-
-#ifdef ENCODER_ENABLE
-
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) return false;
-
- tap_code(clockwise ? KC_VOLU : KC_VOLD);
-
- return false;
-}
-
-#endif // ENCODER_ENABLE