Sub: AP_Camera uses GPS singleton

This commit is contained in:
Peter Barker 2017-11-13 11:32:11 +11:00 committed by Francisco Ferreira
parent ee5f550475
commit 6d2b0ecc82

View File

@ -411,7 +411,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