1
0
Fork 0
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:
Dominic Clifton 2014-04-24 01:13:29 +01:00
parent a6c22d2115
commit 7af9ca4fdc
2 changed files with 22 additions and 26 deletions

View file

@ -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 {