mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Rename multiType to mixerMode. Rename MULTITYPE_* to MIXER_*.
'Type' is a noise word. 'Multi' is a mis-nomer - there is nothing 'multi' about a gimbal or fixed wing.
This commit is contained in:
parent
b123b4ef03
commit
ee19c1f071
10 changed files with 100 additions and 101 deletions
|
@ -574,7 +574,7 @@ void processRx(void)
|
|||
DISABLE_FLIGHT_MODE(PASSTHRU_MODE);
|
||||
}
|
||||
|
||||
if (masterConfig.mixerConfiguration == MULTITYPE_FLYING_WING || masterConfig.mixerConfiguration == MULTITYPE_AIRPLANE) {
|
||||
if (masterConfig.mixerMode == MIXER_FLYING_WING || masterConfig.mixerMode == MIXER_AIRPLANE) {
|
||||
DISABLE_FLIGHT_MODE(HEADFREE_MODE);
|
||||
}
|
||||
}
|
||||
|
@ -627,7 +627,7 @@ void loop(void)
|
|||
if (masterConfig.looptime == 0 || (int32_t)(currentTime - loopTime) >= 0) {
|
||||
loopTime = currentTime + masterConfig.looptime;
|
||||
|
||||
computeIMU(¤tProfile->accelerometerTrims, masterConfig.mixerConfiguration);
|
||||
computeIMU(¤tProfile->accelerometerTrims, masterConfig.mixerMode);
|
||||
|
||||
// Measure loop rate just after reading the sensors
|
||||
currentTime = micros();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue