mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Copter: use new RangeFinder API
This commit is contained in:
parent
99b7972794
commit
2046271da4
@ -173,7 +173,7 @@ private:
|
||||
AP_InertialSensor ins;
|
||||
|
||||
#if CONFIG_SONAR == ENABLED
|
||||
RangeFinder sonar;
|
||||
RangeFinder sonar{serial_manager};
|
||||
bool sonar_enabled; // enable user switch for sonar
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user