From 3400908b08284a8e2e17efa19053af874cd44e0c Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Tue, 21 May 2024 13:25:28 +0100 Subject: Move VIA config to keymap level (#23754) --- keyboards/atlantis/ak81_ve/ak81_ve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/atlantis') 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 -- cgit v1.2.3