FIX: SPI_DPS310 not gated correctly (#52)
This commit is contained in:
parent
b8d31f48de
commit
31abe8ba96
|
@ -47,7 +47,7 @@
|
|||
// 10 MHz max SPI frequency
|
||||
#define DPS310_MAX_SPI_CLK_HZ 10000000
|
||||
|
||||
#if defined(USE_BARO) && defined(USE_BARO_DPS310)
|
||||
#if defined(USE_BARO) && (defined(USE_BARO_DPS310) || defined(USE_BARO_SPI_DPS310))
|
||||
|
||||
#define DPS310_I2C_ADDR 0x76
|
||||
|
||||
|
|
Loading…
Reference in New Issue