Skip to content

Commit b126814

Browse files
committed
Only send DBG message for non-empty mods
1 parent 425777c commit b126814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/behaviors/behavior_caps_word.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ static void caps_word_enhance_usage(const struct behavior_caps_word_config *conf
134134
return;
135135
}
136136

137-
LOG_DBG("Enhancing usage 0x%02X with modifiers: 0x%02X", ev->keycode, config->mods);
138137
if (config->mods != 0) {
138+
LOG_DBG("Enhancing usage 0x%02X with modifiers: 0x%02X", ev->keycode, config->mods);
139139
ev->implicit_modifiers |= config->mods;
140140
}
141141
}

0 commit comments

Comments
 (0)