From f81d514dbdc30f90d78d8f871c30e8d01bcc3f67 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sun, 10 Mar 2013 14:13:33 -0700 Subject: Const a small array. --- apps/systemlib/param/param.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/systemlib') diff --git a/apps/systemlib/param/param.c b/apps/systemlib/param/param.c index ebb72ca3e..8073570d1 100644 --- a/apps/systemlib/param/param.c +++ b/apps/systemlib/param/param.c @@ -87,7 +87,7 @@ struct param_wbuf_s { UT_array *param_values; /** 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 */ ORB_DEFINE(parameter_update, struct parameter_update_s); -- cgit v1.2.3