aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/led
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-03-09 21:07:29 +0100
committerLorenz Meier <lm@inf.ethz.ch>2013-03-09 21:07:29 +0100
commit802d0ae2faa101b2a9eaef75f4019160faf250fd (patch)
tree0c5ce3f79a01f1e8329d18536701009470cc598f /apps/drivers/led
parent5baea153e7d76c213c69a03a47cb12a0f8cf6370 (diff)
downloadpx4-firmware-802d0ae2faa101b2a9eaef75f4019160faf250fd.tar.gz
px4-firmware-802d0ae2faa101b2a9eaef75f4019160faf250fd.tar.bz2
px4-firmware-802d0ae2faa101b2a9eaef75f4019160faf250fd.zip
Made dtors virtual, tested on IO and FMU
Diffstat (limited to 'apps/drivers/led')
-rw-r--r--apps/drivers/led/led.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/drivers/led/led.cpp b/apps/drivers/led/led.cpp
index 12d864be2..c7c45525e 100644
--- a/apps/drivers/led/led.cpp
+++ b/apps/drivers/led/led.cpp
@@ -53,7 +53,7 @@ class LED : device::CDev
{
public:
LED();
- ~LED();
+ virtual ~LED();
virtual int init();
virtual int ioctl(struct file *filp, int cmd, unsigned long arg);