1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00

rename sensor_t to acc_t and gyro_t and remove unused variables from

each.  relocated acc_t/gyro_t from sensors_common.h into
drivers/accgyro_common.h since they define an interface and the
dependency was pointing the wrong way from the drivers.
baro_t/acc_t/gyro_t dependences are all now pointing the right way.
This commit is contained in:
Dominic Clifton 2014-04-21 12:02:02 +01:00
parent b3430ae1be
commit 8875aad776
25 changed files with 60 additions and 42 deletions

View file

@ -6,7 +6,7 @@
#include "sensors_acceleration.h"
sensor_t acc; // acc access functions
acc_t acc; // acc access functions
uint8_t accHardware = ACC_DEFAULT; // which accel chip is used/detected
uint16_t calibratingA = 0; // the calibration is done is the main loop. Calibrating decreases at each cycle down to 0, then we enter in a normal mode.