mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
Introduced 'baroStartCalibration()' / 'baroSetGroundLevel()' to make barometer code more self contained.
This commit is contained in:
parent
dd0b45dc87
commit
ef556c0f59
8 changed files with 25 additions and 15 deletions
|
@ -879,7 +879,7 @@ void init(void)
|
|||
#endif
|
||||
gyroStartCalibration(false);
|
||||
#ifdef USE_BARO
|
||||
baroSetCalibrationCycles(CALIBRATING_BARO_CYCLES);
|
||||
baroStartCalibration();
|
||||
#endif
|
||||
|
||||
#if defined(USE_VTX_COMMON) || defined(USE_VTX_CONTROL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue