1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +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

@ -8,7 +8,7 @@
uint16_t calibratingG = 0;
uint16_t acc_1G = 256; // this is the 1G measured acceleration.
sensor_t gyro; // gyro access functions
gyro_t gyro; // gyro access functions
void GYRO_Common(void)
{