Skip to content

Commit

Permalink
更新头文件
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Nov 7, 2022
1 parent 0629871 commit 8312584
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions aht10.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
#ifndef __AHT10_H__
#define __AHT10_H__

#include <rthw.h>
#include <rtthread.h>

#include <rthw.h>
#include <rtdevice.h>

Expand Down
1 change: 0 additions & 1 deletion sensor_asair_aht10.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#ifndef SENSOR_ASSIR_AHT10_H__
#define SENSOR_ASSIR_AHT10_H__

#include "sensor.h"

This comment has been minimized.

Copy link
@mysterywolf

mysterywolf Dec 1, 2022

Author Member

不需要再include sensor.h了 直接include rtdevice.h即可

#include "aht10.h"

#define AHT10_I2C_ADDR 0x38
Expand Down

0 comments on commit 8312584

Please sign in to comment.