mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Merge branch 'master' of https://github.com/cleanflight/cleanflight
This commit is contained in:
commit
dfd8e5b2b0
33 changed files with 601 additions and 603 deletions
|
@ -594,7 +594,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);
|
||||
}
|
||||
}
|
||||
|
@ -647,7 +647,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