Normalized values in Q12
This commit is contained in:
@@ -52,9 +52,9 @@ typedef struct
|
||||
{
|
||||
struct
|
||||
{
|
||||
int16_t x;
|
||||
int16_t y;
|
||||
int16_t z;
|
||||
int32_t x; // Fixed point Q.12
|
||||
int32_t y; // Fixed point Q.12
|
||||
int32_t z; // Fixed point Q.12
|
||||
} acc, gyr;
|
||||
uint32_t time;
|
||||
} bmi160_value_t;
|
||||
|
||||
Reference in New Issue
Block a user