diff --git a/ArduSub/Sub.h b/ArduSub/Sub.h index 9c565a12ce..1a003f803e 100644 --- a/ArduSub/Sub.h +++ b/ArduSub/Sub.h @@ -128,7 +128,7 @@ #include #endif -class Sub : public AP_HAL::HAL::Callbacks { +class Sub : public AP_Vehicle { public: friend class GCS_MAVLINK_Sub; friend class GCS_Sub;