From 760e86ff4dc359dd783c06b5e6e9864bcf09f5d6 Mon Sep 17 00:00:00 2001 From: chobitsfan Date: Fri, 24 Jul 2020 09:49:09 +0800 Subject: [PATCH] AP_Proximity: remove unused definition `bool initialise()` is not implemented. Maybe it would be better to remove its definition --- libraries/AP_Proximity/AP_Proximity_MAV.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/AP_Proximity/AP_Proximity_MAV.h b/libraries/AP_Proximity/AP_Proximity_MAV.h index c811f57c18..08f8bfcfc2 100644 --- a/libraries/AP_Proximity/AP_Proximity_MAV.h +++ b/libraries/AP_Proximity/AP_Proximity_MAV.h @@ -24,10 +24,6 @@ public: void handle_msg(const mavlink_message_t &msg) override; private: - - // initialise sensor (returns true if sensor is successfully initialised) - bool initialise(); - // horizontal distance support uint32_t _last_update_ms; // system time of last DISTANCE_SENSOR message received float _distance_max; // max range of sensor in meters