AP_HAL_Linux: fix warning due to derived PWM_Sysfs
PWM_Sysfs derives from PWM_Sysfs_Base which was not update to have a virtual destructor. Make PWM_Sysfs_Base's constructor virtual.
This commit is contained in:
parent
8eee888b3e
commit
49abb78372
@ -7,7 +7,7 @@
|
||||
|
||||
class Linux::PWM_Sysfs_Base {
|
||||
public:
|
||||
~PWM_Sysfs_Base();
|
||||
virtual ~PWM_Sysfs_Base();
|
||||
|
||||
enum Polarity {
|
||||
NORMAL = 0,
|
||||
|
Loading…
Reference in New Issue
Block a user