aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2013-11-10 19:24:37 +0100
committerThomas Gubler <thomasgubler@gmail.com>2013-11-10 19:25:38 +0100
commitae9fae5aae2aacbdb97aab9a858dccbe39e4d40a (patch)
treee8b9bba577d13202416d98aa3b10939fbb159d38 /src/modules/uORB
parentc63995e91c188b476aa2608b42a366f68dced423 (diff)
downloadpx4-firmware-ae9fae5aae2aacbdb97aab9a858dccbe39e4d40a.tar.gz
px4-firmware-ae9fae5aae2aacbdb97aab9a858dccbe39e4d40a.tar.bz2
px4-firmware-ae9fae5aae2aacbdb97aab9a858dccbe39e4d40a.zip
fix MEAS airspeed and airspeed calibration
Diffstat (limited to 'src/modules/uORB')
-rw-r--r--src/modules/uORB/topics/differential_pressure.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/uORB/topics/differential_pressure.h b/src/modules/uORB/topics/differential_pressure.h
index e4d2c92ce..5d94d4288 100644
--- a/src/modules/uORB/topics/differential_pressure.h
+++ b/src/modules/uORB/topics/differential_pressure.h
@@ -54,8 +54,8 @@
struct differential_pressure_s {
uint64_t timestamp; /**< microseconds since system boot, needed to integrate */
uint64_t error_count;
- uint16_t differential_pressure_pa; /**< Differential pressure reading */
- uint16_t max_differential_pressure_pa; /**< Maximum differential pressure reading */
+ float differential_pressure_pa; /**< Differential pressure reading */
+ float max_differential_pressure_pa; /**< Maximum differential pressure reading */
float voltage; /**< Voltage from analog airspeed sensors (voltage divider already compensated) */
float temperature; /**< Temperature provided by sensor */