1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/lis3dh: Use SPI mode 3 for communication

This commit is contained in:
Joakim Nohlgård 2017-02-07 15:09:49 +01:00
parent 039d9ac33e
commit 8614dbfeab

View File

@ -27,7 +27,7 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#define SPI_MODE SPI_MODE_0
#define SPI_MODE SPI_MODE_3
static inline int lis3dh_write_bits(const lis3dh_t *dev, const lis3dh_reg_t reg,
const uint8_t mask, const uint8_t values);