aboutsummaryrefslogtreecommitdiff
path: root/apps/systemlib
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-03-10 14:13:33 -0700
committerpx4dev <px4@purgatory.org>2013-03-10 14:13:33 -0700
commitf81d514dbdc30f90d78d8f871c30e8d01bcc3f67 (patch)
tree7b17849467444e75b722ab3da0b496ea77da11b4 /apps/systemlib
parentcac392140f52344fe5236f8ceefe3b2b045f8bb9 (diff)
downloadpx4-firmware-f81d514dbdc30f90d78d8f871c30e8d01bcc3f67.tar.gz
px4-firmware-f81d514dbdc30f90d78d8f871c30e8d01bcc3f67.tar.bz2
px4-firmware-f81d514dbdc30f90d78d8f871c30e8d01bcc3f67.zip
Const a small array.
Diffstat (limited to 'apps/systemlib')
-rw-r--r--apps/systemlib/param/param.c2
1 files changed, 1 insertions, 1 deletions
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);