AP_Param: remove scripting function name helpers

This commit is contained in:
Iampete1 2022-01-01 16:31:12 +00:00 committed by Andrew Tridgell
parent 6bfcf2fb53
commit af83b1efd2

View File

@ -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.
///