Skip to content
Permalink
Browse files

sensor: lis2dh: Fix stray use of old DT define

Convert old DT_ST_LIS2DH_0_BUS_SPI to DT_ST_LIS2DH_BUS_SPI.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak committed Jul 10, 2019
1 parent 4ca5439 commit c016cd2c4e8e7382621c2f247080f363bc1702b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/sensor/lis2dh/lis2dh.c
@@ -14,7 +14,7 @@
LOG_MODULE_REGISTER(lis2dh);
#include "lis2dh.h"

#if defined(DT_ST_LIS2DH_0_BUS_SPI)
#if defined(DT_ST_LIS2DH_BUS_SPI)
int lis2dh_spi_access(struct lis2dh_data *ctx, u8_t cmd,
void *data, size_t length)
{

0 comments on commit c016cd2

Please sign in to comment.
You can’t perform that action at this time.