From 1da9e4d09f34d3dbe4d014d2529de5f3cc49d08c Mon Sep 17 00:00:00 2001 From: richardbarry 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. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2005 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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; } -- 2.39.5