mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Fixed two leftover cases from the conversion to 'USE_<x>'.
This commit is contained in:
parent
bee86890c7
commit
12cdf0954a
2 changed files with 2 additions and 2 deletions
|
@ -336,7 +336,7 @@ static void saProcessResponse(uint8_t *buf, int len)
|
|||
}
|
||||
|
||||
if (memcmp(&saDevice, &saDevicePrev, sizeof(smartAudioDevice_t))) {
|
||||
#ifdef CMS //if changes then trigger saCms update
|
||||
#ifdef USE_CMS //if changes then trigger saCms update
|
||||
saCmsResetOpmodel();
|
||||
#endif
|
||||
#ifdef SMARTAUDIO_DPRINTF // Debug
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
#define BARO_I2C_INSTANCE I2C_DEVICE
|
||||
#define MAG_I2C_INSTANCE I2C_DEVICE
|
||||
|
||||
#define MAG
|
||||
#define USE_MAG
|
||||
#define USE_MAG_HMC5883 //External, connect to I2C1
|
||||
#define MAG_HMC5883_ALIGN CW180_DEG
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue