aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/ms5611/ms5611.cpp
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-08-17 10:45:30 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-08-17 10:45:30 +0200
commit1913ae19f166d61038e436eff73efa42ac4d8f13 (patch)
treeb7aa3356d48858cff9e8ed62a30a175a0b46a448 /src/drivers/ms5611/ms5611.cpp
parente9b0ee75015cf3544a3dab2015d7af77f53bd23e (diff)
downloadpx4-firmware-1913ae19f166d61038e436eff73efa42ac4d8f13.tar.gz
px4-firmware-1913ae19f166d61038e436eff73efa42ac4d8f13.tar.bz2
px4-firmware-1913ae19f166d61038e436eff73efa42ac4d8f13.zip
add param for qnh
Diffstat (limited to 'src/drivers/ms5611/ms5611.cpp')
-rw-r--r--src/drivers/ms5611/ms5611.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/ms5611/ms5611.cpp b/src/drivers/ms5611/ms5611.cpp
index 873fa62c4..889643d0d 100644
--- a/src/drivers/ms5611/ms5611.cpp
+++ b/src/drivers/ms5611/ms5611.cpp
@@ -130,7 +130,7 @@ protected:
float _T;
/* altitude conversion calibration */
- unsigned _msl_pressure; /* in kPa */
+ unsigned _msl_pressure; /* in Pa */
orb_advert_t _baro_topic;
@@ -466,7 +466,7 @@ MS5611::ioctl(struct file *filp, int cmd, unsigned long arg)
irqrestore(flags);
return -ENOMEM;
}
- irqrestore(flags);
+ irqrestore(flags);
return OK;
}