Skip to content

Commit

Permalink
Update so it compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiayang committed Sep 3, 2023
1 parent 7efa135 commit c6f1429
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
14 changes: 7 additions & 7 deletions app/drivers/sensor/max17048/max17048.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

#define DT_DRV_COMPAT maxim_max17048

#include <device.h>
#include <kernel.h>
#include <sys/util.h>
#include <logging/log.h>
#include <drivers/i2c.h>
#include <sys/byteorder.h>
#include <drivers/sensor.h>
#include <zephyr/device.h>
#include <zephyr/kernel.h>
#include <zephyr/sys/util.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/drivers/sensor.h>

#include "max17048.h"

Expand Down
4 changes: 2 additions & 2 deletions app/drivers/sensor/max17048/max17048.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#pragma once

#include <device.h>
#include <sys/util.h>
#include <zephyr/device.h>
#include <zephyr/sys/util.h>

#ifdef __cplusplus
extern "C" {
Expand Down
3 changes: 0 additions & 3 deletions app/drivers/zephyr/dts/bindings/sensor/maxim,max17048.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,3 @@ compatible: "maxim,max17048"

include: [i2c-device.yaml]

properties:
label:
required: true

0 comments on commit c6f1429

Please sign in to comment.