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/l3gd20 | |
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/l3gd20')
-rw-r--r-- | apps/drivers/l3gd20/l3gd20.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/drivers/l3gd20/l3gd20.cpp b/apps/drivers/l3gd20/l3gd20.cpp index f2f585f42..6227df72a 100644 --- a/apps/drivers/l3gd20/l3gd20.cpp +++ b/apps/drivers/l3gd20/l3gd20.cpp @@ -152,7 +152,7 @@ class L3GD20 : public device::SPI { public: L3GD20(int bus, const char* path, spi_dev_e device); - ~L3GD20(); + virtual ~L3GD20(); virtual int init(); |