forked from kofal.net/zmk
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:
committed by
Pete Johanson
parent
35a1c5a3d4
commit
3a958c667f
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <drivers/sensor.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
|
||||
#include "battery_common.h"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <drivers/sensor.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct battery_value {
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
#define DT_DRV_COMPAT zmk_battery_nrf_vddh
|
||||
|
||||
#include <device.h>
|
||||
#include <devicetree.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/sensor.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/drivers/adc.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "battery_common.h"
|
||||
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
#define DT_DRV_COMPAT zmk_battery_voltage_divider
|
||||
|
||||
#include <device.h>
|
||||
#include <devicetree.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <drivers/adc.h>
|
||||
#include <drivers/sensor.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "battery_common.h"
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
#define DT_DRV_COMPAT alps_ec11
|
||||
|
||||
#include <device.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <sys/util.h>
|
||||
#include <kernel.h>
|
||||
#include <drivers/sensor.h>
|
||||
#include <sys/__assert.h>
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
|
||||
#include "ec11.h"
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <device.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
struct ec11_config {
|
||||
const char *a_label;
|
||||
|
||||
@@ -6,17 +6,17 @@
|
||||
|
||||
#define DT_DRV_COMPAT alps_ec11
|
||||
|
||||
#include <device.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <sys/util.h>
|
||||
#include <kernel.h>
|
||||
#include <drivers/sensor.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/drivers/gpio.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/drivers/sensor.h>
|
||||
|
||||
#include "ec11.h"
|
||||
|
||||
extern struct ec11_data ec11_driver;
|
||||
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_DECLARE(EC11, CONFIG_SENSOR_LOG_LEVEL);
|
||||
|
||||
static inline void setup_int(const struct device *dev, bool enable) {
|
||||
|
||||
Reference in New Issue
Block a user