aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-11-10 10:40:45 -0800
committerLorenz Meier <lm@inf.ethz.ch>2013-11-10 10:40:45 -0800
commita1398c991ede8269d27f5798ea137a43846e7c9f (patch)
treee9c7dea8623f2975e93d5cc0a83b1cd3aadf311a /src/modules/uORB
parent3231a636b8dc7b3f367926f0faaa8aed99aeda19 (diff)
parentae9fae5aae2aacbdb97aab9a858dccbe39e4d40a (diff)
downloadpx4-firmware-a1398c991ede8269d27f5798ea137a43846e7c9f.tar.gz
px4-firmware-a1398c991ede8269d27f5798ea137a43846e7c9f.tar.bz2
px4-firmware-a1398c991ede8269d27f5798ea137a43846e7c9f.zip
Merge pull request #525 from thomasgubler/airspeed_meas_calibration
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 */