mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +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)) {
|
if (!detectGyro(gyroLpf)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
sensorsSet(SENSOR_GYRO);
|
||||||
detectAcc(accHardwareToUse);
|
detectAcc(accHardwareToUse);
|
||||||
detectBaro();
|
detectBaro();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue