Update example_minimal.c

This commit is contained in:
Tilen Majerle 2023-08-09 10:42:54 +02:00 committed by GitHub
parent ca61b0bebb
commit 42667e13c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ mycmd_fn(int32_t argc, char** argv) {
/* Example code */
void
example_minimal(void) {
const char* input_str = "mycmd param1 \"param 2 with space\"";
const char* input_str = "mycmd param1 \"param 2 with space\"\r\n";
/* Init library */
lwshell_init();
@ -28,4 +28,4 @@ example_minimal(void) {
/* Now insert input */
lwshell_input(input_str, strlen(input_str));
}
}