aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/atlantis
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/atlantis')
-rw-r--r--keyboards/atlantis/ak81_ve/ak81_ve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/atlantis/ak81_ve/ak81_ve.c b/keyboards/atlantis/ak81_ve/ak81_ve.c
index 2eda87b5b0..5f4ae20f15 100644
--- a/keyboards/atlantis/ak81_ve/ak81_ve.c
+++ b/keyboards/atlantis/ak81_ve/ak81_ve.c
@@ -46,7 +46,7 @@ led_config_t g_led_config = { {
} };
#endif
-#if !defined(VIA_ENABLE) && defined(ENCODER_ENABLE)
+#if defined(ENCODER_ENABLE) && !defined(ENCODER_MAP_ENABLE)
bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_user(index, clockwise)) {
return false;
@@ -79,4 +79,4 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
}
return true;
}
-#endif \ No newline at end of file
+#endif