Skip to content

Commit 55cfac2

Browse files
committed
config: Follow API change of zmk_keymap_layer_label -> zmk_keymap_layer_name
1 parent 4e312e7 commit 55cfac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/boards/helloword/hw75_keyboard/app/uart_comm/report/report_fn_state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static int report_fn_state_event_listener(const zmk_event_t *eh)
3030
{
3131
if (as_zmk_layer_state_changed(eh)) {
3232
uint8_t index = zmk_keymap_highest_layer_active();
33-
bool current = strncmp(zmk_keymap_layer_label(index), "FN", 2) == 0;
33+
bool current = strncmp(zmk_keymap_layer_name(index), "FN", 2) == 0;
3434
if (!fn_pressed && current) {
3535
report_fn_state_changed(true);
3636
} else if (fn_pressed && !current) {

0 commit comments

Comments
 (0)