aboutsummaryrefslogtreecommitdiff
path: root/keyboards/atlantis/ak81_ve/ak81_ve.c
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-05-21 13:25:28 +0100
committerGitHub <[email protected]>2024-05-21 13:25:28 +0100
commit3400908b08284a8e2e17efa19053af874cd44e0c (patch)
tree650ee59426bae11c83c694f1081b754986b071a3 /keyboards/atlantis/ak81_ve/ak81_ve.c
parent73f9fb91a391555748d4839161154b98f95eb8fc (diff)
downloadqmk_firmware-3400908b08284a8e2e17efa19053af874cd44e0c.tar.gz
qmk_firmware-3400908b08284a8e2e17efa19053af874cd44e0c.zip
Move VIA config to keymap level (#23754)
Diffstat (limited to 'keyboards/atlantis/ak81_ve/ak81_ve.c')
-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