[dc] bugfix

This commit is contained in:
Christophe De Wagter
2015-09-08 22:33:28 +02:00
parent 22ec0ab71b
commit 34b823eb5a
@@ -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;