This field can't be const, it's written to.

This commit is contained in:
px4dev
2012-08-25 16:12:27 -07:00
parent e51b23d309
commit f2ab85756c

View File

@@ -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. */