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:
parent
039d9ac33e
commit
8614dbfeab
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user