diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-03-09 21:07:29 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-03-09 21:07:29 +0100 |
commit | 802d0ae2faa101b2a9eaef75f4019160faf250fd (patch) | |
tree | 0c5ce3f79a01f1e8329d18536701009470cc598f /apps/drivers/led | |
parent | 5baea153e7d76c213c69a03a47cb12a0f8cf6370 (diff) | |
download | px4-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.cpp | 2 |
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); |