Rover: AP_Camera uses GPS singleton

This commit is contained in:
Peter Barker 2017-11-13 11:31:46 +11:00 committed by Francisco Ferreira
parent b97ee33438
commit c00a4f3bb2

View File

@ -211,7 +211,7 @@ private:
// Camera
#if CAMERA == ENABLED
AP_Camera camera = AP_Camera::create(&relay, MASK_LOG_CAMERA, current_loc, gps, ahrs);
AP_Camera camera = AP_Camera::create(&relay, MASK_LOG_CAMERA, current_loc, ahrs);
#endif
// Camera/Antenna mount tracking and stabilisation stuff