mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
sensors: lis3dh: move lis3dh to own directory under drivers/sensor/
Change-Id: Ie263f4400707fec685cd93077e764c5b77f4784d Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
@@ -74,7 +74,7 @@ source "drivers/sensor/hts221/Kconfig"
|
||||
|
||||
source "drivers/sensor/isl29035/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.lis3dh"
|
||||
source "drivers/sensor/lis3dh/Kconfig"
|
||||
|
||||
source "drivers/sensor/Kconfig.lis3mdl"
|
||||
|
||||
|
||||
@@ -12,8 +12,7 @@ obj-$(CONFIG_HMC5883L) += hmc5883l/
|
||||
obj-$(CONFIG_HP206C) += hp206c/
|
||||
obj-$(CONFIG_HTS221) += hts221/
|
||||
obj-$(CONFIG_ISL29035) += isl29035/
|
||||
obj-$(CONFIG_LIS3DH) += sensor_lis3dh.o
|
||||
obj-$(CONFIG_LIS3DH_TRIGGER) += sensor_lis3dh_trigger.o
|
||||
obj-$(CONFIG_LIS3DH) += lis3dh/
|
||||
obj-$(CONFIG_LIS3MDL) += sensor_lis3mdl.o
|
||||
obj-$(CONFIG_LIS3MDL_TRIGGER) += sensor_lis3mdl_trigger.o
|
||||
obj-$(CONFIG_LPS25HB) += sensor_lps25hb.o
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Kconfig.lis3dh - LIS3DH Three Axis Accelerometer configuration options
|
||||
# Kconfig - LIS3DH Three Axis Accelerometer configuration options
|
||||
|
||||
#
|
||||
# Copyright (c) 2016 Intel Corporation
|
||||
@@ -0,0 +1,2 @@
|
||||
obj-$(CONFIG_LIS3DH) += lis3dh.o
|
||||
obj-$(CONFIG_LIS3DH_TRIGGER) += lis3dh_trigger.o
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <sensor.h>
|
||||
#include <misc/__assert.h>
|
||||
|
||||
#include "sensor_lis3dh.h"
|
||||
#include "lis3dh.h"
|
||||
|
||||
static void lis3dh_convert(struct sensor_value *val, int64_t raw_val)
|
||||
{
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <nanokernel.h>
|
||||
#include <sensor.h>
|
||||
|
||||
#include "sensor_lis3dh.h"
|
||||
#include "lis3dh.h"
|
||||
|
||||
int lis3dh_trigger_set(struct device *dev,
|
||||
const struct sensor_trigger *trig,
|
||||
Reference in New Issue
Block a user