mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_Param: remove scripting function name helpers
This commit is contained in:
parent
6bfcf2fb53
commit
af83b1efd2
@ -291,8 +291,6 @@ public:
|
|||||||
/// @param value The new value
|
/// @param value The new value
|
||||||
/// @return true if the variable is found
|
/// @return true if the variable is found
|
||||||
static bool set_by_name(const char *name, float value);
|
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
|
/// gat a value by name, used by scripting
|
||||||
///
|
///
|
||||||
@ -308,8 +306,6 @@ public:
|
|||||||
/// @return true if the variable is found
|
/// @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(const char *name, float value);
|
||||||
static bool set_and_save_by_name_ifchanged(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.
|
/// Find a variable by index.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user