mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 08:13:56 -04:00
Copter: trigger + logging on camera update_location()
This commit is contained in:
parent
f5154d9e7a
commit
bbd4fbd2fb
@ -1374,7 +1374,9 @@ static void update_GPS(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if CAMERA == ENABLED
|
#if CAMERA == ENABLED
|
||||||
camera.update_location(current_loc);
|
if (camera.update_location(current_loc) == true) {
|
||||||
|
do_take_picture();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user