mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Multirotor modes removed from Planes
This commit is contained in:
parent
a6c7d81c1d
commit
56a70ea620
1 changed files with 2 additions and 2 deletions
|
@ -185,12 +185,12 @@ void initActiveBoxIds(void)
|
|||
|
||||
activeBoxIds[activeBoxIdCount++] = BOXHEADINGHOLD;
|
||||
|
||||
if (sensors(SENSOR_ACC) || sensors(SENSOR_MAG)) {
|
||||
if ((sensors(SENSOR_ACC) || sensors(SENSOR_MAG)) && STATE(MULTIROTOR)) {
|
||||
activeBoxIds[activeBoxIdCount++] = BOXHEADFREE;
|
||||
activeBoxIds[activeBoxIdCount++] = BOXHEADADJ;
|
||||
}
|
||||
|
||||
if (STATE(ALTITUDE_CONTROL)) {
|
||||
if (STATE(ALTITUDE_CONTROL) && STATE(MULTIROTOR)) {
|
||||
activeBoxIds[activeBoxIdCount++] = BOXFPVANGLEMIX;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue