From 05abd677c574401632c1cccd586f519ec3ae4668 Mon Sep 17 00:00:00 2001 From: Willow Herring <31960031+ReFil@users.noreply.github.com> Date: Thu, 2 Jan 2025 15:58:49 +0000 Subject: [PATCH] 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 --- app/include/zmk/combos.h | 2 +- app/include/zmk/input_listeners.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/include/zmk/combos.h b/app/include/zmk/combos.h index d93006f68..644a2b53f 100644 --- a/app/include/zmk/combos.h +++ b/app/include/zmk/combos.h @@ -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)) \ No newline at end of file + (0)) diff --git a/app/include/zmk/input_listeners.h b/app/include/zmk/input_listeners.h index 446706fb3..1a1cdfb9e 100644 --- a/app/include/zmk/input_listeners.h +++ b/app/include/zmk/input_listeners.h @@ -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) \ No newline at end of file + (DT_FOREACH_STATUS_OKAY(zmk_input_listener, ZMK_INPUT_LISTENERS_UTIL_ONE) 0)