mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Remove flight_imu and flight_common.c's dependencies on the mw.h/board.h
files. Move baro calibration code into sensors_barometer.c. Move other sensor variables into appropriate files.
This commit is contained in:
parent
51f2487cf5
commit
b3430ae1be
7 changed files with 91 additions and 34 deletions
|
@ -1,8 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
extern baro_t baro;
|
||||
|
||||
#ifdef BARO
|
||||
void Baro_Common(void);
|
||||
int Baro_update(void);
|
||||
int32_t Baro_calculateAltitude(void);
|
||||
bool isBaroCalibrationComplete(void);
|
||||
void performBaroCalibrationCycle(void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue