From 11585b17650b6a11ba36c691b5f0835945375f35 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Fri, 6 May 2022 11:33:11 +0200 Subject: [PATCH] app, drivers: migrate includes to Zephyr includes are now prefixed with . While the old path can still be used when CONFIG_LEGACY_INCLUDE_PATH=y, it's better to be prepared for the future. Signed-off-by: Gerard Marull-Paretas --- app/src/main.c | 6 +++--- drivers/sensor/examplesensor/examplesensor.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/src/main.c b/app/src/main.c index d1d9e9a..27ab1c9 100644 --- a/app/src/main.c +++ b/app/src/main.c @@ -3,12 +3,12 @@ * SPDX-License-Identifier: Apache-2.0 */ -#include -#include +#include +#include #include "app_version.h" -#include +#include LOG_MODULE_REGISTER(main, CONFIG_APP_LOG_LEVEL); void main(void) diff --git a/drivers/sensor/examplesensor/examplesensor.c b/drivers/sensor/examplesensor/examplesensor.c index 83cd4cb..0e35e20 100644 --- a/drivers/sensor/examplesensor/examplesensor.c +++ b/drivers/sensor/examplesensor/examplesensor.c @@ -5,11 +5,11 @@ #define DT_DRV_COMPAT zephyr_examplesensor -#include -#include -#include +#include +#include +#include -#include +#include LOG_MODULE_REGISTER(examplesensor, CONFIG_SENSOR_LOG_LEVEL); struct examplesensor_data {