mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
adding untested (and needing work) fixedwing althold implementation.
see comments in code for things to fix. added new variable to cli, fixedwing_althold_dir (though its value isn't really clear, I think it should always be positive since servo direction mix is done later).
This commit is contained in:
parent
1dea496fd5
commit
9a7ff04422
5 changed files with 43 additions and 22 deletions
|
@ -211,6 +211,14 @@ void mixerInit(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// set flag that we're on something with wings
|
||||
if (mcfg.mixerConfiguration == MULTITYPE_FLYING_WING ||
|
||||
mcfg.mixerConfiguration == MULTITYPE_AIRPLANE)
|
||||
f.FIXED_WING = 1;
|
||||
else
|
||||
f.FIXED_WING = 0;
|
||||
|
||||
mixerResetMotors();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue