From eb0daee4b391ae3e9cb26200beb29d6bca2bfb45 Mon Sep 17 00:00:00 2001 From: Andre Kjellstrup Date: Fri, 18 Dec 2015 18:16:11 +1100 Subject: [PATCH] ArduCopter: Camera options for better camera control All on one because they would not pass autotest if split up. --- ArduCopter/ArduCopter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/ArduCopter.cpp b/ArduCopter/ArduCopter.cpp index 842f05bd73..8dde897a5c 100644 --- a/ArduCopter/ArduCopter.cpp +++ b/ArduCopter/ArduCopter.cpp @@ -551,7 +551,7 @@ void Copter::update_GPS(void) if (gps.status() >= AP_GPS::GPS_OK_FIX_3D) { #if CAMERA == ENABLED - if (camera.update_location(current_loc) == true) { + if (camera.update_location(current_loc, copter.ahrs) == true) { do_take_picture(); } #endif