Skip to content

Commit

Permalink
chore: Fix keymap const warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Sep 26, 2024
1 parent 5d4b6df commit 4a8ceba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ int zmk_keymap_reset_settings(void) { return -ENOTSUP; }

int zmk_keymap_apply_position_state(uint8_t source, zmk_keymap_layer_id_t layer_id,
uint32_t position, bool pressed, int64_t timestamp) {
struct zmk_behavior_binding *binding = &zmk_keymap[layer_id][position];
const struct zmk_behavior_binding *binding = &zmk_keymap[layer_id][position];
struct zmk_behavior_binding_event event = {
.layer = layer_id,
.position = position,
Expand Down

0 comments on commit 4a8ceba

Please sign in to comment.