mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Code allowing the use of sonar without requiring a barometer.
This code has been flight tested on a Naze32 acro, with no barometer onboard. It also works when the target doesn't have BARO defined.
This commit is contained in:
parent
f22953b37a
commit
66fce423bb
8 changed files with 72 additions and 19 deletions
|
@ -363,8 +363,8 @@ static void detectBaro()
|
|||
return;
|
||||
}
|
||||
#endif
|
||||
sensorsClear(SENSOR_BARO);
|
||||
#endif
|
||||
sensorsClear(SENSOR_BARO);
|
||||
}
|
||||
|
||||
void reconfigureAlignment(sensorAlignmentConfig_t *sensorAlignmentConfig)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue