mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -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
|
||||
camera.update_location(current_loc);
|
||||
if (camera.update_location(current_loc) == true) {
|
||||
do_take_picture();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user