From f2ab85756c173bd8c231f72c09e50d2a2d3aab42 Mon Sep 17 00:00:00 2001 From: px4dev Date: Sat, 25 Aug 2012 16:12:27 -0700 Subject: [PATCH] This field can't be const, it's written to. --- apps/uORB/topics/rc_channels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/uORB/topics/rc_channels.h b/apps/uORB/topics/rc_channels.h index 28cc5d7c4b..e34376e82e 100644 --- a/apps/uORB/topics/rc_channels.h +++ b/apps/uORB/topics/rc_channels.h @@ -96,7 +96,7 @@ struct rc_channels_s { uint8_t chan_count; /**< maximum number of valid channels */ /*String array to store the names of the functions*/ - const char function_name[RC_CHANNELS_FUNCTION_MAX][20]; + char function_name[RC_CHANNELS_FUNCTION_MAX][20]; uint8_t function[RC_CHANNELS_FUNCTION_MAX]; uint8_t rssi; /**< Overall receive signal strength */ }; /**< radio control channels. */