diff --git a/libraries/AP_Camera/AP_RunCam.h b/libraries/AP_Camera/AP_RunCam.h index b689a8108e3818..aa26a866888ab2 100644 --- a/libraries/AP_Camera/AP_RunCam.h +++ b/libraries/AP_Camera/AP_RunCam.h @@ -27,6 +27,8 @@ #define HAL_RUNCAM_ENABLED 1 #endif +#include "AP_Camera_Backend.h" + #if HAL_RUNCAM_ENABLED #include @@ -43,11 +45,14 @@ /// @class AP_RunCam /// @brief Object managing a RunCam device -class AP_RunCam +class AP_RunCam : public AP_Camera_Backend { public: AP_RunCam(); + // Constructor + using AP_Camera_Backend::AP_Camera_Backend; + // do not allow copies CLASS_NO_COPY(AP_RunCam);