mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Ensure sensors bitmask contains the flag for the GYRO after gyro has
been detected.
This commit is contained in:
parent
876c976252
commit
8661849a5f
1 changed files with 1 additions and 0 deletions
|
@ -390,6 +390,7 @@ bool sensorsAutodetect(sensorAlignmentConfig_t *sensorAlignmentConfig, uint16_t
|
|||
if (!detectGyro(gyroLpf)) {
|
||||
return false;
|
||||
}
|
||||
sensorsSet(SENSOR_GYRO);
|
||||
detectAcc(accHardwareToUse);
|
||||
detectBaro();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue