Plane: AP_Camera uses GPS singleton

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

View File

@ -274,7 +274,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
#if OPTFLOW == ENABLED