diff --git a/src/main/io/vtx_smartaudio.c b/src/main/io/vtx_smartaudio.c index dc8d2a663f..2587efac90 100644 --- a/src/main/io/vtx_smartaudio.c +++ b/src/main/io/vtx_smartaudio.c @@ -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 diff --git a/src/main/target/KAKUTEF4/target.h b/src/main/target/KAKUTEF4/target.h index afdd6f80de..7f3530aecb 100644 --- a/src/main/target/KAKUTEF4/target.h +++ b/src/main/target/KAKUTEF4/target.h @@ -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