Update so it compiles
This commit is contained in:
parent
90b88d9af3
commit
ed9aeca806
3 changed files with 9 additions and 12 deletions
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
#define DT_DRV_COMPAT maxim_max17048
|
#define DT_DRV_COMPAT maxim_max17048
|
||||||
|
|
||||||
#include <device.h>
|
#include <zephyr/device.h>
|
||||||
#include <kernel.h>
|
#include <zephyr/kernel.h>
|
||||||
#include <sys/util.h>
|
#include <zephyr/sys/util.h>
|
||||||
#include <logging/log.h>
|
#include <zephyr/logging/log.h>
|
||||||
#include <drivers/i2c.h>
|
#include <zephyr/drivers/i2c.h>
|
||||||
#include <sys/byteorder.h>
|
#include <zephyr/sys/byteorder.h>
|
||||||
#include <drivers/sensor.h>
|
#include <zephyr/drivers/sensor.h>
|
||||||
|
|
||||||
#include "max17048.h"
|
#include "max17048.h"
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <device.h>
|
#include <zephyr/device.h>
|
||||||
#include <sys/util.h>
|
#include <zephyr/sys/util.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
@ -11,6 +11,3 @@ compatible: "maxim,max17048"
|
||||||
|
|
||||||
include: [i2c-device.yaml]
|
include: [i2c-device.yaml]
|
||||||
|
|
||||||
properties:
|
|
||||||
label:
|
|
||||||
required: true
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue