Plane: stop passing relay and ahrs into camera constructor

This commit is contained in:
Peter Barker 2019-06-27 17:24:50 +10:00 committed by Andrew Tridgell
parent 98f637ba6c
commit 769e862807
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ private:
// Camera
#if CAMERA == ENABLED
AP_Camera camera{&relay, MASK_LOG_CAMERA, current_loc, ahrs};
AP_Camera camera{MASK_LOG_CAMERA, current_loc};
#endif
#if OPTFLOW == ENABLED