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:
parent
afae393582
commit
ce1600350d
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue