1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

Minor tidy of sensor code

This commit is contained in:
Martin Budden 2016-06-28 22:00:23 +01:00
parent 2f10c77490
commit 9059254db6
7 changed files with 15 additions and 17 deletions

View file

@ -34,7 +34,7 @@ typedef struct int16_flightDynamicsTrims_s {
int16_t yaw;
} flightDynamicsTrims_def_t;
typedef union {
typedef union flightDynamicsTrims_u {
int16_t raw[3];
flightDynamicsTrims_def_t values;
} flightDynamicsTrims_t;