Skip to content

Commit 05abd67

Browse files
authored
chore: Add trailing lines to fix build warnings (#2743)
When building a unibody or central warnings get thrown for the backslash newlines at EOF in combos.h and input_listeners.h. Adding a trailing newline to the affected files rectifies this
1 parent f0a77b8 commit 05abd67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/include/zmk/combos.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
#define ZMK_COMBOS_LEN \
1414
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(zmk_combos), \
1515
(0 DT_FOREACH_CHILD_STATUS_OKAY(DT_INST(0, zmk_combos), ZMK_COMBOS_UTIL_ONE)), \
16-
(0))
16+
(0))

app/include/zmk/input_listeners.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
#define ZMK_INPUT_LISTENERS_UTIL_ONE(n) 1 +
1212

1313
#define ZMK_INPUT_LISTENERS_LEN \
14-
(DT_FOREACH_STATUS_OKAY(zmk_input_listener, ZMK_INPUT_LISTENERS_UTIL_ONE) 0)
14+
(DT_FOREACH_STATUS_OKAY(zmk_input_listener, ZMK_INPUT_LISTENERS_UTIL_ONE) 0)

0 commit comments

Comments
 (0)