diff options
author | Peter Johanson <[email protected]> | 2022-10-08 00:46:08 -0400 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2023-04-05 22:55:38 -0700 |
commit | 3a958c667fcbdf9940d115bbdf3f7fe61d821402 (patch) | |
tree | e1140d026edc879f331c3cee96f9d52f18f874e0 /app/src/activity.c | |
parent | 35a1c5a3d44b92c050d28c0aca3d1cb9c7e53695 (diff) | |
download | zmk-3a958c667fcbdf9940d115bbdf3f7fe61d821402.tar.gz zmk-3a958c667fcbdf9940d115bbdf3f7fe61d821402.zip |
refactor: Move to `zephyr/` include paths.
* Zephyr moved to properly namespaced headers, so major "rip
the bandaid" commit to move us to those everywhere.
Diffstat (limited to 'app/src/activity.c')
-rw-r--r-- | app/src/activity.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/src/activity.c b/app/src/activity.c index 029908c014..41fe2e15dc 100644 --- a/app/src/activity.c +++ b/app/src/activity.c @@ -4,12 +4,12 @@ * SPDX-License-Identifier: MIT */ -#include <device.h> -#include <init.h> -#include <kernel.h> -#include <pm/pm.h> +#include <zephyr/device.h> +#include <zephyr/init.h> +#include <zephyr/kernel.h> +#include <zephyr/pm/pm.h> -#include <logging/log.h> +#include <zephyr/logging/log.h> LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL); @@ -74,8 +74,8 @@ void activity_work_handler(struct k_work *work) { } else #endif /* IS_ENABLED(CONFIG_ZMK_SLEEP) */ if (inactive_time > MAX_IDLE_MS) { - set_state(ZMK_ACTIVITY_IDLE); - } + set_state(ZMK_ACTIVITY_IDLE); + } } K_WORK_DEFINE(activity_work, activity_work_handler); |