1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00

fixed: mag emulation display issue in configurator

This commit is contained in:
Roman Lut 2022-08-03 01:54:56 +03:00
parent afae393582
commit ce1600350d
2 changed files with 2 additions and 2 deletions

View file

@ -3427,7 +3427,7 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
baroStartCalibration();
#endif
#ifdef USE_MAG
if (compassConfig()->mag_hardware != 0){
if (compassConfig()->mag_hardware != MAG_NONE){
sensorsSet(SENSOR_MAG);
ENABLE_STATE(COMPASS_CALIBRATED);
DISABLE_ARMING_FLAG(ARMING_DISABLED_HARDWARE_FAILURE);