refactor: Move to zephyr/ include paths.

* Zephyr moved to properly namespaced headers, so major "rip
  the bandaid" commit to move us to those everywhere.
This commit is contained in:
Peter Johanson
2022-10-08 00:46:08 -04:00
committed by Pete Johanson
parent 35a1c5a3d4
commit 3a958c667f
116 changed files with 332 additions and 329 deletions

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/
#include <zephyr.h>
#include <zephyr/kernel.h>
#include <zmk/matrix_transform.h>
#include <zmk/matrix.h>
#include <dt-bindings/zmk/matrix_transform.h>
@@ -15,7 +15,7 @@
[(KT_ROW(DT_PROP_BY_IDX(ZMK_KEYMAP_TRANSFORM_NODE, map, i)) * ZMK_MATRIX_COLS) + \
KT_COL(DT_PROP_BY_IDX(ZMK_KEYMAP_TRANSFORM_NODE, map, i))] = i
static uint32_t transform[] = {LISTIFY(ZMK_KEYMAP_LEN, _TRANSFORM_ENTRY, (,), 0)};
static uint32_t transform[] = {LISTIFY(ZMK_KEYMAP_LEN, _TRANSFORM_ENTRY, (, ), 0)};
#endif