Skip to content

Commit

Permalink
Smart-word: adopt refactor from zen-tweaks
Browse files Browse the repository at this point in the history
Add mandatory momentary state argument introduced by
caksoylar@2fb683a
  • Loading branch information
urob committed Apr 9, 2024
1 parent 8a684f0 commit c23ca33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/behaviors/behavior_caps_word.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static void activate_caps_word(const struct device *dev) {
const struct behavior_caps_word_config *config = dev->config;

if (config->layers > -1) {
zmk_keymap_layer_activate(config->layers);
zmk_keymap_layer_activate(config->layers, false);
}
data->active = true;
}
Expand Down

0 comments on commit c23ca33

Please sign in to comment.