diff options
author | JD <shiirish@gmail.com> | 2021-08-09 15:54:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 15:54:03 -0700 |
commit | 4744787e55aae6980e2c880f1f15bc32af26a762 (patch) | |
tree | 968a7624ceff72e5dc1fd288acd55fda3950c252 | |
parent | 455793a29566fae0dcbbed13649bc120a7355ed4 (diff) | |
download | freertos-git-4744787e55aae6980e2c880f1f15bc32af26a762.tar.gz |
Added 'extern "C"' to FreeRTOS-CLI header file. (#674)
Co-authored-by: JD Scott <jscott@hotstart.com>
-rw-r--r-- | FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.h b/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.h index 12fdd7062..af2280ad2 100644 --- a/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.h +++ b/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI/FreeRTOS_CLI.h @@ -28,6 +28,12 @@ #ifndef COMMAND_INTERPRETER_H
#define COMMAND_INTERPRETER_H
+/* *INDENT-OFF* */
+#ifdef __cplusplus
+ extern "C" {
+#endif
+/* *INDENT-ON* */
+
/* The prototype to which callback functions used to process command line
commands must comply. pcWriteBuffer is a buffer into which the output from
executing the command can be written, xWriteBufferLen is the length, in bytes of
@@ -89,6 +95,12 @@ char *FreeRTOS_CLIGetOutputBuffer( void ); */
const char *FreeRTOS_CLIGetParameter( const char *pcCommandString, UBaseType_t uxWantedParameter, BaseType_t *pxParameterStringLength );
+/* *INDENT-OFF* */
+#ifdef __cplusplus
+ }
+#endif
+/* *INDENT-ON* */
+
#endif /* COMMAND_INTERPRETER_H */
|