mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Cleanup deprecated IMU code by using a union.
This commit is contained in:
parent
a6c22d2115
commit
7af9ca4fdc
2 changed files with 22 additions and 26 deletions
|
@ -54,6 +54,11 @@ typedef struct fp_angles {
|
|||
float roll;
|
||||
float pitch;
|
||||
float yaw;
|
||||
} fp_angles_def;
|
||||
|
||||
typedef union {
|
||||
float raw[3];
|
||||
fp_angles_def angles;
|
||||
} fp_angles_t;
|
||||
|
||||
typedef struct int16_flightDynamicsTrims_s {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue