sensors: dht: move dht to own directory under drivers/sensor/
Change-Id: Id19b4ea414347caa23730e3ccd4f79761878af01 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
49a6d13849
commit
9078ad7982
6 changed files with 5 additions and 4 deletions
|
@ -62,7 +62,7 @@ source "drivers/sensor/bmg160/Kconfig"
|
|||
|
||||
source "drivers/sensor/bmi160/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.dht"
|
||||
source "drivers/sensor/dht/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.hdc1008"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ obj-$(CONFIG_BMC150_MAGN) += bmc150_magn/
|
|||
obj-$(CONFIG_BME280) += bme280/
|
||||
obj-$(CONFIG_BMG160) += bmg160/
|
||||
obj-$(CONFIG_BMI160) += bmi160/
|
||||
obj-$(CONFIG_DHT) += sensor_dht.o
|
||||
obj-$(CONFIG_DHT) += dht/
|
||||
obj-$(CONFIG_HDC1008) += sensor_hdc1008.o
|
||||
obj-$(CONFIG_HMC5883L) += sensor_hmc5883l.o
|
||||
obj-$(CONFIG_HMC5883L_TRIGGER) += sensor_hmc5883l_trigger.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Kconfig.dht - DHT Temperature and Himidity Sensor configuration options
|
||||
# Kconfig - DHT Temperature and Himidity Sensor configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
1
drivers/sensor/dht/Makefile
Normal file
1
drivers/sensor/dht/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
obj-$(CONFIG_DHT) += dht.o
|
|
@ -22,7 +22,7 @@
|
|||
#include <string.h>
|
||||
#include <zephyr.h>
|
||||
|
||||
#include "sensor_dht.h"
|
||||
#include "dht.h"
|
||||
|
||||
/**
|
||||
* @brief Measure duration of signal send by sensor
|
Loading…
Add table
Add a link
Reference in a new issue