diff --git a/src/FirmwarePlugin/APM/APMFirmwarePlugin.h b/src/FirmwarePlugin/APM/APMFirmwarePlugin.h index 56f935aa8ea089264a6cb1e39d2b5689d4109a2f..80a20945ca672d566e4f619087070f0cc7a1084d 100644 --- a/src/FirmwarePlugin/APM/APMFirmwarePlugin.h +++ b/src/FirmwarePlugin/APM/APMFirmwarePlugin.h @@ -79,7 +79,7 @@ public: bool setFlightMode(const QString& flightMode, uint8_t* base_mode, uint32_t* custom_mode) final; bool isGuidedMode(const Vehicle* vehicle) const final; void pauseVehicle(Vehicle* vehicle); - int manualControlReservedButtonCount(void) final; + int manualControlReservedButtonCount(void); bool adjustIncomingMavlinkMessage(Vehicle* vehicle, mavlink_message_t* message) final; void adjustOutgoingMavlinkMessage(Vehicle* vehicle, mavlink_message_t* message) final; void initializeVehicle(Vehicle* vehicle) final; diff --git a/src/FirmwarePlugin/APM/ArduSubFirmwarePlugin.cc b/src/FirmwarePlugin/APM/ArduSubFirmwarePlugin.cc index e6fad43ea24d8abd36b2a6f1cb382fc2d6c25d81..ea1538a9e473525da69ae6ff0e82c4c9e750bcc9 100644 --- a/src/FirmwarePlugin/APM/ArduSubFirmwarePlugin.cc +++ b/src/FirmwarePlugin/APM/ArduSubFirmwarePlugin.cc @@ -47,3 +47,8 @@ ArduSubFirmwarePlugin::ArduSubFirmwarePlugin(void) supportedFlightModes << APMSubMode(APMSubMode::ALT_HOLD ,true); setSupportedModes(supportedFlightModes); } + +int ArduSubFirmwarePlugin::manualControlReservedButtonCount(void) +{ + return 0; +} diff --git a/src/FirmwarePlugin/APM/ArduSubFirmwarePlugin.h b/src/FirmwarePlugin/APM/ArduSubFirmwarePlugin.h index 1030a459dc7ad9227f8aacd9370014a3c37591b2..a927a44d9edd004754206324bb5544fa334d2a6d 100644 --- a/src/FirmwarePlugin/APM/ArduSubFirmwarePlugin.h +++ b/src/FirmwarePlugin/APM/ArduSubFirmwarePlugin.h @@ -67,6 +67,7 @@ public: ArduSubFirmwarePlugin(void); // Overrides from FirmwarePlugin + int manualControlReservedButtonCount(void); };