From 747a0e15faf033e9b80cfec0c31b68a29b304f92 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Fri, 16 Aug 2013 13:34:28 +0000 Subject: [PATCH] Convert double quotes in a command help string to single quotes to allow the string to be processed by Javascript. --- FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.c b/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.c index 9e1ae4d9c..b41e86b7a 100644 --- a/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.c +++ b/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.c @@ -206,7 +206,7 @@ size_t xCommandStringLength; else { /* pxCommand was NULL, the command was not found. */ - strncpy( ( char * ) pcWriteBuffer, ( const char * const ) "Command not recognised. Enter \"help\" to view a list of available commands.\r\n\r\n", xWriteBufferLen ); + strncpy( ( char * ) pcWriteBuffer, ( const char * const ) "Command not recognised. Enter 'help' to view a list of available commands.\r\n\r\n", xWriteBufferLen ); xReturn = pdFALSE; }