Skip to content

Commit

Permalink
sensor: lis2dh: Fix stray use of old DT define
Browse files Browse the repository at this point in the history
Convert old DT_ST_LIS2DH_0_BUS_SPI to DT_ST_LIS2DH_BUS_SPI.

Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
galak committed Jul 10, 2019
1 parent 4ca5439 commit c016cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sensor/lis2dh/lis2dh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c016cd2

Please sign in to comment.