mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Mission: image-stop-capture fix for instance
This commit is contained in:
parent
b08fa29574
commit
200bc6c849
@ -191,7 +191,7 @@ bool AP_Mission::start_command_camera(const AP_Mission::Mission_Command& cmd)
|
|||||||
camera->stop_capture();
|
camera->stop_capture();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return camera->stop_capture(cmd.p1);
|
return camera->stop_capture(cmd.p1 - 1);
|
||||||
|
|
||||||
case MAV_CMD_VIDEO_START_CAPTURE:
|
case MAV_CMD_VIDEO_START_CAPTURE:
|
||||||
case MAV_CMD_VIDEO_STOP_CAPTURE:
|
case MAV_CMD_VIDEO_STOP_CAPTURE:
|
||||||
|
Loading…
Reference in New Issue
Block a user