mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 01:31:35 +08:00
Const a small array.
This commit is contained in:
@@ -87,7 +87,7 @@ struct param_wbuf_s {
|
|||||||
UT_array *param_values;
|
UT_array *param_values;
|
||||||
|
|
||||||
/** array info for the modified parameters array */
|
/** array info for the modified parameters array */
|
||||||
UT_icd param_icd = {sizeof(struct param_wbuf_s), NULL, NULL, NULL};
|
const UT_icd param_icd = {sizeof(struct param_wbuf_s), NULL, NULL, NULL};
|
||||||
|
|
||||||
/** parameter update topic */
|
/** parameter update topic */
|
||||||
ORB_DEFINE(parameter_update, struct parameter_update_s);
|
ORB_DEFINE(parameter_update, struct parameter_update_s);
|
||||||
|
|||||||
Reference in New Issue
Block a user