AP_Camera: Correct trigger behaviour when cmd is switched off then on again

This commit is contained in:
Gone4Dirt 2020-03-24 00:01:11 +00:00 committed by Andrew Tridgell
parent d813ee27de
commit c97cc71382

View File

@ -343,6 +343,8 @@ void AP_Camera::update()
}
if (is_zero(_trigg_dist)) {
_last_location.lat = 0;
_last_location.lng = 0;
return;
}
if (_last_location.lat == 0 && _last_location.lng == 0) {