aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/drv_baro.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-01-25 21:05:38 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-01-29 16:33:53 +0100
commitd851a630d874f639e0861dc8411405f83ee23769 (patch)
tree2e51bab607145daab2a85c4561fe0825868d920d /src/drivers/drv_baro.h
parentcc7a00b96e658f5d36763ef90ebac7fa813b55af (diff)
downloadpx4-firmware-d851a630d874f639e0861dc8411405f83ee23769.tar.gz
px4-firmware-d851a630d874f639e0861dc8411405f83ee23769.tar.bz2
px4-firmware-d851a630d874f639e0861dc8411405f83ee23769.zip
Move all drivers to multi pub/sub API
Diffstat (limited to 'src/drivers/drv_baro.h')
-rw-r--r--src/drivers/drv_baro.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/drivers/drv_baro.h b/src/drivers/drv_baro.h
index 3e28d3d3d..3d275d619 100644
--- a/src/drivers/drv_baro.h
+++ b/src/drivers/drv_baro.h
@@ -1,6 +1,6 @@
/****************************************************************************
*
- * Copyright (C) 2012 PX4 Development Team. All rights reserved.
+ * Copyright (c) 2012-2015 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -63,9 +63,7 @@ struct baro_report {
/*
* ObjDev tag for raw barometer data.
*/
-ORB_DECLARE(sensor_baro0);
-ORB_DECLARE(sensor_baro1);
-ORB_DECLARE(sensor_baro2);
+ORB_DECLARE(sensor_baro);
/*
* ioctl() definitions