diff options
Diffstat (limited to 'apps/drivers/drv_baro.h')
-rw-r--r-- | apps/drivers/drv_baro.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/drivers/drv_baro.h b/apps/drivers/drv_baro.h index b79d5b5b0..176f798c0 100644 --- a/apps/drivers/drv_baro.h +++ b/apps/drivers/drv_baro.h @@ -69,6 +69,10 @@ ORB_DECLARE(sensor_baro); #define _BAROIOCBASE (0x2200) #define _BAROIOC(_n) (_IOC(_BAROIOCBASE, _n)) -/* currently no baro-specific ioctls */ +/** set corrected MSL pressure in pascals */ +#define BAROIOCSMSLPRESSURE _BAROIOC(0) + +/** get current MSL pressure in pascals */ +#define BAROIOCGMSLPRESSURE _BAROIOC(1) #endif /* _DRV_BARO_H */ |