1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +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:
Dominic Clifton 2014-04-21 11:29:01 +01:00
parent 51f2487cf5
commit b3430ae1be
7 changed files with 91 additions and 34 deletions

View file

@ -6,6 +6,8 @@
#include "flight_common.h"
#include "statusindicator.h"
uint16_t calibratingG = 0;
uint16_t acc_1G = 256; // this is the 1G measured acceleration.
sensor_t gyro; // gyro access functions
void GYRO_Common(void)