diff --git a/ArduSub/Sub.h b/ArduSub/Sub.h index 8806c38c3a..4a929352f8 100644 --- a/ArduSub/Sub.h +++ b/ArduSub/Sub.h @@ -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