From b87ed96825769e821feb3a1e07e804193dd7420a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 7 Sep 2015 16:12:37 +1000 Subject: [PATCH] Rover: fix for changed AP_RangeFinder API --- APMrover2/Rover.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APMrover2/Rover.h b/APMrover2/Rover.h index b9493a4126..e1d526b43e 100644 --- a/APMrover2/Rover.h +++ b/APMrover2/Rover.h @@ -144,7 +144,7 @@ private: AP_Baro barometer; Compass compass; AP_InertialSensor ins; - RangeFinder sonar; + RangeFinder sonar { serial_manager }; // flight modes convenience array AP_Int8 *modes;