From af83b1efd230934f720884f8ee92aae31625b273 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 1 Jan 2022 16:31:12 +0000 Subject: [PATCH] AP_Param: remove scripting function name helpers --- libraries/AP_Param/AP_Param.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/AP_Param/AP_Param.h b/libraries/AP_Param/AP_Param.h index 0b15e6ad93..a1ab94f9d3 100644 --- a/libraries/AP_Param/AP_Param.h +++ b/libraries/AP_Param/AP_Param.h @@ -291,8 +291,6 @@ public: /// @param value The new value /// @return true if the variable is found static bool set_by_name(const char *name, float value); - // name helper for scripting - static bool set(const char *name, float value) { return set_by_name(name, value); }; /// gat a value by name, used by scripting /// @@ -308,8 +306,6 @@ public: /// @return true if the variable is found static bool set_and_save_by_name(const char *name, float value); static bool set_and_save_by_name_ifchanged(const char *name, float value); - // name helper for scripting - static bool set_and_save(const char *name, float value) { return set_and_save_by_name(name, value); }; /// Find a variable by index. ///