sensors: sht3xd: move sht3xd to own directory under drivers/sensor/
Change-Id: I8d13f5b2461169940f24a08346f0da0c291a8fef Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
cce03b127d
commit
b918ae8d82
7 changed files with 7 additions and 6 deletions
|
@ -92,7 +92,7 @@ source "drivers/sensor/mcp9808/Kconfig"
|
|||
|
||||
source "drivers/sensor/mpu6050/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.sht3xd"
|
||||
source "drivers/sensor/sht3xd/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.sx9500"
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@ obj-$(CONFIG_LSM9DS0_MFD) += lsm9ds0_mfd/
|
|||
obj-$(CONFIG_MAX44009) += max44009/
|
||||
obj-$(CONFIG_MCP9808) += mcp9808/
|
||||
obj-$(CONFIG_MPU6050) += mpu6050/
|
||||
obj-$(CONFIG_SHT3XD) += sensor_sht3xd.o
|
||||
obj-$(CONFIG_SHT3XD_TRIGGER) += sensor_sht3xd_trigger.o
|
||||
obj-$(CONFIG_SHT3XD) += sht3xd/
|
||||
obj-$(CONFIG_SX9500) += sensor_sx9500.o
|
||||
obj-$(CONFIG_SX9500_TRIGGER) += sensor_sx9500_trigger.o
|
||||
obj-$(CONFIG_TH02) += th02/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Kconfig.sht3xd - SHT3xD temperature and humidity sensor configuration options
|
||||
# Kconfig - SHT3xD temperature and humidity sensor configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
2
drivers/sensor/sht3xd/Makefile
Normal file
2
drivers/sensor/sht3xd/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
|||
obj-$(CONFIG_SHT3XD) += sht3xd.o
|
||||
obj-$(CONFIG_SHT3XD_TRIGGER) += sht3xd_trigger.o
|
|
@ -20,7 +20,7 @@
|
|||
#include <sensor.h>
|
||||
#include <misc/__assert.h>
|
||||
|
||||
#include "sensor_sht3xd.h"
|
||||
#include "sht3xd.h"
|
||||
|
||||
/*
|
||||
* CRC algorithm parameters were taken from the
|
|
@ -19,7 +19,7 @@
|
|||
#include <nanokernel.h>
|
||||
#include <sensor.h>
|
||||
|
||||
#include "sensor_sht3xd.h"
|
||||
#include "sht3xd.h"
|
||||
|
||||
static uint16_t sht3xd_temp_processed_to_raw(const struct sensor_value *val)
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue