mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +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:
parent
b3430ae1be
commit
8875aad776
25 changed files with 60 additions and 42 deletions
|
@ -13,9 +13,9 @@ extern uint16_t batteryWarningVoltage;
|
|||
extern uint8_t batteryCellCount;
|
||||
extern float magneticDeclination;
|
||||
|
||||
extern sensor_t gyro;
|
||||
extern gyro_t gyro;
|
||||
extern baro_t baro;
|
||||
extern sensor_t acc;
|
||||
extern acc_t acc;
|
||||
|
||||
#ifdef FY90Q
|
||||
// FY90Q analog gyro/acc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue