1
0
Fork 0
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:
mikeller 2017-11-06 01:44:24 +13:00
parent bee86890c7
commit 12cdf0954a
2 changed files with 2 additions and 2 deletions

View file

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

View file

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