FIX: SPI_DPS310 not gated correctly (#52)

This commit is contained in:
liyouluo 2023-04-26 21:25:54 +08:00 committed by GitHub
parent b8d31f48de
commit 31abe8ba96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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