mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AC_AttControl: add empty virtual destructor
This resolves pixhawk bricking and reduces one compiler warning
This commit is contained in:
parent
fc34a2fed1
commit
83a84c7b90
@ -68,6 +68,9 @@ public:
|
||||
_flags.limit_angle_to_rate_request = true;
|
||||
}
|
||||
|
||||
// empty destructor to suppress compiler warning
|
||||
virtual ~AC_AttitudeControl() {}
|
||||
|
||||
//
|
||||
// initialisation functions
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user