From d387747b62a8435a4cd0e14cfb2cddf87798cbcc Mon Sep 17 00:00:00 2001 From: lokher Date: Fri, 8 Nov 2024 16:52:38 +0800 Subject: [PATCH] Fixed compile error with default keymap --- keyboards/keychron/common/keychron_raw_hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/keychron/common/keychron_raw_hid.c b/keyboards/keychron/common/keychron_raw_hid.c index b45ab43d83..b063d355e1 100644 --- a/keyboards/keychron/common/keychron_raw_hid.c +++ b/keyboards/keychron/common/keychron_raw_hid.c @@ -84,7 +84,7 @@ void send_analog_matrix(uint8_t *data, uint8_t length) { #endif bool kc_raw_hid_rx(uint8_t *data, uint8_t length) { -#ifdef ANANLOG_MATRIX +#if defined(ANANLOG_MATRIX) && defined(VIA_ENABLE) if (data[0] == id_get_keyboard_value && data[1] == id_switch_matrix_state) { send_analog_matrix(data, length); return false;