mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: Camera options for better camera control
All on one because they would not pass autotest if split up.
This commit is contained in:
parent
eb0daee4b3
commit
6f5387c48d
|
@ -456,7 +456,7 @@ void Plane::update_GPS_10Hz(void)
|
|||
geofence_check(false);
|
||||
|
||||
#if CAMERA == ENABLED
|
||||
if (camera.update_location(current_loc) == true) {
|
||||
if (camera.update_location(current_loc, plane.ahrs ) == true) {
|
||||
do_take_picture();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue