1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

Merge pull request #4490 from mikeller/fix_leftover_use_conversion

Fixed two leftover cases from the conversion to 'USE_<x>'.
This commit is contained in:
Michael Keller 2017-11-06 22:56:16 +13:00 committed by GitHub
commit bbb8b6f6e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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