mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 18:07:25 +08:00
[dc] bugfix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user