mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Param: make data pointer const
This commit is contained in:
parent
84726e4a3a
commit
fb97c16a84
@ -89,7 +89,7 @@ public:
|
|||||||
uint8_t type; // AP_PARAM_*
|
uint8_t type; // AP_PARAM_*
|
||||||
const char name[AP_MAX_NAME_SIZE+1];
|
const char name[AP_MAX_NAME_SIZE+1];
|
||||||
uint8_t key; // k_param_*
|
uint8_t key; // k_param_*
|
||||||
void *ptr; // pointer to the variable in memory
|
const void *ptr; // pointer to the variable in memory
|
||||||
union {
|
union {
|
||||||
const struct GroupInfo *group_info;
|
const struct GroupInfo *group_info;
|
||||||
const float def_value;
|
const float def_value;
|
||||||
|
Loading…
Reference in New Issue
Block a user