Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed Jan 10, 2024
1 parent f217ffc commit 1376642
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ static inline int set_layer_state(uint8_t layer, bool state) {
if (old_state != _zmk_keymap_layer_state) {
LOG_DBG("layer_changed: layer %d state %d", layer, state);
ZMK_EVENT_RAISE(create_layer_state_changed(layer, state));
#if ZMK_BLE_IS_CENTRAL
int err = zmk_split_central_send_data(DATA_TAG_KEYMAP_STATE, sizeof(uint32_t),
(uint8_t *)&_zmk_keymap_layer_state);
if (err) {
LOG_ERR("Keymap send failed (err %d)", err);
}
#endif
}

return 0;
Expand Down

0 comments on commit 1376642

Please sign in to comment.