Fixed compile error with default keymap

This commit is contained in:
lokher 2024-11-08 16:52:38 +08:00
parent 0f72790c42
commit d387747b62

View File

@ -84,7 +84,7 @@ void send_analog_matrix(uint8_t *data, uint8_t length) {
#endif #endif
bool kc_raw_hid_rx(uint8_t *data, uint8_t length) { 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) { if (data[0] == id_get_keyboard_value && data[1] == id_switch_matrix_state) {
send_analog_matrix(data, length); send_analog_matrix(data, length);
return false; return false;