Skip to content

Commit

Permalink
Revert removal of necessary const
Browse files Browse the repository at this point in the history
  • Loading branch information
muneebahmed10 committed Jun 11, 2020
1 parent cc0b0af commit fe36abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/standard/mqtt/src/mqtt_lightweight.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ static MQTTStatus_t processPublishFlags( uint8_t publishFlags,

static void logConnackResponse( uint8_t responseCode )
{
const char * pConnackResponses[ 6 ] =
const char * const pConnackResponses[ 6 ] =
{
"Connection accepted.", /* 0 */
"Connection refused: unacceptable protocol version.", /* 1 */
Expand Down

0 comments on commit fe36abf

Please sign in to comment.