1
0
Fork 0
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:
Ben Hitchcock 2014-09-05 11:28:55 +08:00
parent f22953b37a
commit 66fce423bb
8 changed files with 72 additions and 19 deletions

View file

@ -363,8 +363,8 @@ static void detectBaro()
return;
}
#endif
sensorsClear(SENSOR_BARO);
#endif
sensorsClear(SENSOR_BARO);
}
void reconfigureAlignment(sensorAlignmentConfig_t *sensorAlignmentConfig)