@@ -91,7 +91,7 @@ typedef struct {
91
91
float x; // /< X component of vector
92
92
float y; // /< Y component of vector
93
93
float z; // /< Z component of vector
94
- }; // /< Struct for holding XYZ component
94
+ }; // /< Struct for holding XYZ component
95
95
/* Orientation sensors */
96
96
struct {
97
97
float roll; /* *< Rotation around the longitudinal axis (the plane body, 'X
@@ -103,10 +103,10 @@ typedef struct {
103
103
float heading; /* *< Angle between the longitudinal axis (the plane body)
104
104
and magnetic north, measured clockwise when viewing from
105
105
the top of the device. 0-359 degrees */
106
- }; // /< Struct for holding roll/pitch/heading
107
- }; // /< Union that can hold 3D vector array, XYZ components or
108
- // /< roll/pitch/heading
109
- int8_t status; // /< Status byte
106
+ }; // /< Struct for holding roll/pitch/heading
107
+ }; // /< Union that can hold 3D vector array, XYZ components or
108
+ // /< roll/pitch/heading
109
+ int8_t status; // /< Status byte
110
110
uint8_t reserved[3 ]; // /< Reserved
111
111
} sensors_vec_t ;
112
112
@@ -116,11 +116,11 @@ typedef struct {
116
116
float c[3 ]; // /< Raw 3-element data
117
117
/* RGB color space */
118
118
struct {
119
- float r; /* *< Red component */
120
- float g; /* *< Green component */
121
- float b; /* *< Blue component */
122
- }; // /< RGB data in floating point notation
123
- }; // /< Union of various ways to describe RGB colorspace
119
+ float r; /* *< Red component */
120
+ float g; /* *< Green component */
121
+ float b; /* *< Blue component */
122
+ }; // /< RGB data in floating point notation
123
+ }; // /< Union of various ways to describe RGB colorspace
124
124
uint32_t rgba; /* *< 24-bit RGBA value */
125
125
} sensors_color_t ;
126
126
@@ -174,7 +174,7 @@ typedef struct {
174
174
sensors_color_t color; /* *< color in RGB component values */
175
175
float altitude; /* *< Distance between a reference datum and a point or
176
176
object, in meters. */
177
- }; // /< Union for the wide ranges of data we can carry
177
+ }; // /< Union for the wide ranges of data we can carry
178
178
} sensors_event_t ;
179
179
180
180
/* Sensor details (40 bytes) */
0 commit comments