mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
CAMERA_CAPTURE_STATUS.image_status was calculated from num_remaining being positive, but take_multiple_pictures sets num_remaining to -1 when asked to capture until stopped, so a camera capturing on an interval forever reported itself idle. Test num_remaining the same way update() does when deciding whether to take the next image.