fix bug from #999

This commit is contained in:
snoyer 2022-10-11 17:16:40 +00:00
parent 2014c328cc
commit a347498363

View file

@ -37,7 +37,7 @@ zmk_led_indicators_flags_t zmk_led_indicators_get_current_flags() {
uint8_t profile = 0;
#if IS_ENABLED(CONFIG_ZMK_BLE)
if (endpoint == ZMK_ENDPOINT_USB) {
if (endpoint == ZMK_ENDPOINT_BLE) {
profile = zmk_ble_active_profile_index();
}
#endif