mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
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
17 lines
491 B
C
17 lines
491 B
C
/*
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <zephyr/devicetree.h>
|
|
|
|
#define ZMK_COMBOS_UTIL_ONE(n) +1
|
|
|
|
#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))
|