mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Only allow gyro_to_use = BOTH if both detected gyros are the same type
Since we currently don't have per gyro configuration, trying to use two different gyro types simultaneously may not provide good results or lead to other unforeseen situations like attempting to initialize with settings not applicable to both hardware types. This logic looks at the detected gyro types and resets to use only the first one if the user selected "BOTH" and they're different hardware types.
This commit is contained in:
parent
cb19bb16d4
commit
ff59c37fdb
3 changed files with 22 additions and 3 deletions
|
@ -697,7 +697,10 @@ void initRcProcessing(void) {}
|
|||
void changePidProfile(uint8_t) {}
|
||||
void pidInitConfig(const pidProfile_t *) {}
|
||||
void accSetCalibrationCycles(uint16_t) {}
|
||||
void gyroStartCalibration(void) {}
|
||||
void gyroStartCalibration(bool isFirstArmingCalibration)
|
||||
{
|
||||
UNUSED(isFirstArmingCalibration);
|
||||
}
|
||||
void applyAndSaveAccelerometerTrimsDelta(rollAndPitchTrims_t*) {}
|
||||
void handleInflightCalibrationStickPosition(void) {}
|
||||
bool feature(uint32_t) { return false;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue