aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-07-16 08:20:48 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-07-16 08:20:48 +0200
commit9470ac4e0f7ce9171789f1fed1a8c052db014773 (patch)
treea1bddf72a6b84e944348dbbf9f9c7c4de99b9dbf /src/drivers
parent5b38b5e37170ffb079ef228f117f7e8b594353c8 (diff)
parentc67f76e0c7049b408c918702e09307747e02642f (diff)
downloadpx4-firmware-9470ac4e0f7ce9171789f1fed1a8c052db014773.tar.gz
px4-firmware-9470ac4e0f7ce9171789f1fed1a8c052db014773.tar.bz2
px4-firmware-9470ac4e0f7ce9171789f1fed1a8c052db014773.zip
Merge branch 'master' of github.com:PX4/Firmware into sensor_startup_cleanup
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/device/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/device/device.h b/src/drivers/device/device.h
index 7df234cab..2d105bb79 100644
--- a/src/drivers/device/device.h
+++ b/src/drivers/device/device.h
@@ -240,6 +240,7 @@ private:
* @param context Pointer to the interrupted context.
*/
static void dev_interrupt(int irq, void *context);
+
};
/**
@@ -469,6 +470,10 @@ private:
* @return OK, or -errno on error.
*/
int remove_poll_waiter(struct pollfd *fds);
+
+ /* do not allow copying this class */
+ CDev(const CDev&);
+ CDev operator=(const CDev&);
};
/**