APMrover2: Camera options for better camera control

All on one because they would not pass autotest if split up.
This commit is contained in:
Andre Kjellstrup 2015-12-18 18:16:11 +11:00 committed by Andrew Tridgell
parent 6da7e76990
commit 80f19aefc7

View File

@ -381,7 +381,7 @@ void Rover::update_GPS_10Hz(void)
}
#if CAMERA == ENABLED
if (camera.update_location(current_loc) == true) {
if (camera.update_location(current_loc, rover.ahrs) == true) {
do_take_picture();
}
#endif