mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
GCS_MAVLink: add warning about providing full-sized buffer to send_parameter_value
This commit is contained in:
parent
42b784b581
commit
263216669d
@ -232,6 +232,9 @@ public:
|
|||||||
virtual uint8_t sysid_my_gcs() const = 0;
|
virtual uint8_t sysid_my_gcs() const = 0;
|
||||||
virtual bool sysid_enforce() const { return false; }
|
virtual bool sysid_enforce() const { return false; }
|
||||||
|
|
||||||
|
// NOTE: param_name here must point to a 16+1 byte buffer - so do
|
||||||
|
// NOT try to pass in a static-char-* unless it does have that
|
||||||
|
// length!
|
||||||
void send_parameter_value(const char *param_name,
|
void send_parameter_value(const char *param_name,
|
||||||
ap_var_type param_type,
|
ap_var_type param_type,
|
||||||
float param_value);
|
float param_value);
|
||||||
|
Loading…
Reference in New Issue
Block a user