Skip to content

Commit

Permalink
chore: Add trailing lines to fix build warnings (#2743)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ReFil authored Jan 2, 2025
1 parent f0a77b8 commit 05abd67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/include/zmk/combos.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
#define ZMK_COMBOS_LEN \
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(zmk_combos), \
(0 DT_FOREACH_CHILD_STATUS_OKAY(DT_INST(0, zmk_combos), ZMK_COMBOS_UTIL_ONE)), \
(0))
(0))
2 changes: 1 addition & 1 deletion app/include/zmk/input_listeners.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
#define ZMK_INPUT_LISTENERS_UTIL_ONE(n) 1 +

#define ZMK_INPUT_LISTENERS_LEN \
(DT_FOREACH_STATUS_OKAY(zmk_input_listener, ZMK_INPUT_LISTENERS_UTIL_ONE) 0)
(DT_FOREACH_STATUS_OKAY(zmk_input_listener, ZMK_INPUT_LISTENERS_UTIL_ONE) 0)

0 comments on commit 05abd67

Please sign in to comment.