From fb97c16a842f04317960d2a3b6f01b1fdce8bb70 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 13 May 2015 20:04:19 +1000 Subject: [PATCH] AP_Param: make data pointer const --- libraries/AP_Param/AP_Param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Param/AP_Param.h b/libraries/AP_Param/AP_Param.h index 67eee6414f..4175885f2f 100644 --- a/libraries/AP_Param/AP_Param.h +++ b/libraries/AP_Param/AP_Param.h @@ -89,7 +89,7 @@ public: uint8_t type; // AP_PARAM_* const char name[AP_MAX_NAME_SIZE+1]; uint8_t key; // k_param_* - void *ptr; // pointer to the variable in memory + const void *ptr; // pointer to the variable in memory union { const struct GroupInfo *group_info; const float def_value;