From 6eb3394422e118da912ab98b3f19e17afdefa84d Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Thu, 25 Apr 2024 17:58:56 +0100 Subject: [PATCH] AP_Camera: runcam backend --- libraries/AP_Camera/AP_RunCam.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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);