aboutsummaryrefslogtreecommitdiff
path: root/apps/uORB/topics/rc_channels.h
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-08-25 16:12:27 -0700
committerpx4dev <px4@purgatory.org>2012-08-25 16:12:27 -0700
commitf2ab85756c173bd8c231f72c09e50d2a2d3aab42 (patch)
tree9cb63ad08a46198f494c87132337a7466dc9b15d /apps/uORB/topics/rc_channels.h
parente51b23d309c0d66f572d04832675f5f29c120211 (diff)
downloadpx4-firmware-f2ab85756c173bd8c231f72c09e50d2a2d3aab42.tar.gz
px4-firmware-f2ab85756c173bd8c231f72c09e50d2a2d3aab42.tar.bz2
px4-firmware-f2ab85756c173bd8c231f72c09e50d2a2d3aab42.zip
This field can't be const, it's written to.
Diffstat (limited to 'apps/uORB/topics/rc_channels.h')
-rw-r--r--apps/uORB/topics/rc_channels.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/uORB/topics/rc_channels.h b/apps/uORB/topics/rc_channels.h
index 28cc5d7c4..e34376e82 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. */