diff --git a/sw/airborne/modules/digital_cam/video_cam_ctrl.c b/sw/airborne/modules/digital_cam/video_cam_ctrl.c index ace93028ba..1f046abd90 100644 --- a/sw/airborne/modules/digital_cam/video_cam_ctrl.c +++ b/sw/airborne/modules/digital_cam/video_cam_ctrl.c @@ -24,7 +24,7 @@ */ #include "video_cam_ctrl.h" -#include "generated/airframe.h" +#include "generated/modules.h" // Include Standard Camera Control Interface #include "modules/digital_cam/dc.h" @@ -52,7 +52,7 @@ void dc_send_command(uint8_t cmd) switch (cmd) { case DC_SHOOT: #ifndef SITL - viewvideo_take_shot(TRUE); + video_thread_take_shot(TRUE); #endif dc_send_shot_position(); break;