mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AC_Avoidance: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
7be27235f3
commit
e4fb439a96
@ -81,7 +81,7 @@ public:
|
||||
|
||||
// enable/disable proximity based avoidance
|
||||
void proximity_avoidance_enable(bool on_off) { _proximity_enabled = on_off; }
|
||||
bool proximity_avoidance_enabled() { return _proximity_enabled; }
|
||||
bool proximity_avoidance_enabled() const { return _proximity_enabled; }
|
||||
|
||||
// helper functions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user