aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/device/device.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-01-12 11:52:41 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-01-12 11:52:41 +0100
commit9bf512cac82815e690774ddfc2fdeda29c22f4a0 (patch)
tree6031339e9ea3f179533cfed384dfeb1589533a4b /src/drivers/device/device.h
parentc6e196edca7acae0b548a85c94d0c8f37df3c7aa (diff)
downloadpx4-firmware-9bf512cac82815e690774ddfc2fdeda29c22f4a0.tar.gz
px4-firmware-9bf512cac82815e690774ddfc2fdeda29c22f4a0.tar.bz2
px4-firmware-9bf512cac82815e690774ddfc2fdeda29c22f4a0.zip
Framework to support disabling publications via IOCTL
Diffstat (limited to 'src/drivers/device/device.h')
-rw-r--r--src/drivers/device/device.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/device/device.h b/src/drivers/device/device.h
index 0235f6284..d99f22922 100644
--- a/src/drivers/device/device.h
+++ b/src/drivers/device/device.h
@@ -1,6 +1,6 @@
/****************************************************************************
*
- * Copyright (C) 2012 PX4 Development Team. All rights reserved.
+ * Copyright (c) 2012-2014 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
@@ -415,6 +415,8 @@ protected:
*/
virtual int unregister_class_devname(const char *class_devname, unsigned class_instance);
+ bool _pub_blocked; /**< true if publishing should be blocked */
+
private:
static const unsigned _max_pollwaiters = 8;