ArduCopter: 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 80f19aefc7
commit eb0daee4b3
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@ void Copter::update_GPS(void)
if (gps.status() >= AP_GPS::GPS_OK_FIX_3D) { if (gps.status() >= AP_GPS::GPS_OK_FIX_3D) {
#if CAMERA == ENABLED #if CAMERA == ENABLED
if (camera.update_location(current_loc) == true) { if (camera.update_location(current_loc, copter.ahrs) == true) {
do_take_picture(); do_take_picture();
} }
#endif #endif