mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-13 11:29:56 +03:00
Update logic_condition.c
Added activation of the compass calibration request
This commit is contained in:
parent
05a93edb6f
commit
85217c24c6
1 changed files with 7 additions and 0 deletions
|
@ -286,6 +286,13 @@ static int logicConditionCompute(
|
|||
return true;
|
||||
break;
|
||||
|
||||
#ifdef USE_MAG
|
||||
case LOGIC_CONDITION_RESET_MAG_CALIBRATION:
|
||||
|
||||
ENABLE_STATE(CALIBRATE_MAG);
|
||||
return true;
|
||||
break;
|
||||
#endif
|
||||
case LOGIC_CONDITION_SET_VTX_POWER_LEVEL:
|
||||
#if defined(USE_VTX_CONTROL)
|
||||
#if(defined(USE_VTX_SMARTAUDIO) || defined(USE_VTX_TRAMP))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue