We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f67ba9f commit 820db19Copy full SHA for 820db19
tmk_core/protocol/nrf/via.c
@@ -175,8 +175,8 @@ static void set_via_bmp_item(uint8_t *data, uint8_t length) {
175
memcpy(&bmp_ex_keycodes[item_data[0]], &item_data[1],
176
sizeof(bmp_ex_keycode_t));
177
via_exkc_update_flag = true;
178
- if (bmp_ex_keycode_num < item_data[0]) {
179
- bmp_ex_keycode_num = item_data[0];
+ if (bmp_ex_keycode_num < item_data[0] + 1) {
+ bmp_ex_keycode_num = item_data[0] + 1;
180
}
181
182
break;
0 commit comments