@@ -91,7 +91,7 @@ typedef struct {
9191 float x; // /< X component of vector
9292 float y; // /< Y component of vector
9393 float z; // /< Z component of vector
94- }; // /< Struct for holding XYZ component
94+ }; // /< Struct for holding XYZ component
9595 /* Orientation sensors */
9696 struct {
9797 float roll; /* *< Rotation around the longitudinal axis (the plane body, 'X
@@ -103,10 +103,10 @@ typedef struct {
103103 float heading; /* *< Angle between the longitudinal axis (the plane body)
104104 and magnetic north, measured clockwise when viewing from
105105 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
110110 uint8_t reserved[3 ]; // /< Reserved
111111} sensors_vec_t ;
112112
@@ -116,11 +116,11 @@ typedef struct {
116116 float c[3 ]; // /< Raw 3-element data
117117 /* RGB color space */
118118 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
124124 uint32_t rgba; /* *< 24-bit RGBA value */
125125} sensors_color_t ;
126126
@@ -174,7 +174,7 @@ typedef struct {
174174 sensors_color_t color; /* *< color in RGB component values */
175175 float altitude; /* *< Distance between a reference datum and a point or
176176 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
178178} sensors_event_t ;
179179
180180/* Sensor details (40 bytes) */
0 commit comments