diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-26 23:48:16 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-26 23:48:16 +0200 |
commit | 2963dc679a63309a7b26da1677208fbdb4aec146 (patch) | |
tree | 2cdf3f4968e98f7474bf4e10c3986893ed7dad6d /apps/drivers/drv_accel.h | |
parent | 56e66a80cdd5f0f09716ee503cdc2810e3e74a69 (diff) | |
download | px4-firmware-2963dc679a63309a7b26da1677208fbdb4aec146.tar.gz px4-firmware-2963dc679a63309a7b26da1677208fbdb4aec146.tar.bz2 px4-firmware-2963dc679a63309a7b26da1677208fbdb4aec146.zip |
Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love
Diffstat (limited to 'apps/drivers/drv_accel.h')
-rw-r--r-- | apps/drivers/drv_accel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/drivers/drv_accel.h b/apps/drivers/drv_accel.h index 47d366bc4..977440518 100644 --- a/apps/drivers/drv_accel.h +++ b/apps/drivers/drv_accel.h @@ -57,9 +57,9 @@ struct accel_report { float z; float range_m_s2; float scaling; - uint16_t x_raw; - uint16_t y_raw; - uint16_t z_raw; + int16_t x_raw; + int16_t y_raw; + int16_t z_raw; }; /** accel scaling factors; Vout = (Vin * Vscale) + Voffset */ |