summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo C2018-06-27 23:43:19 +0200
committerLeo C2018-06-27 23:43:19 +0200
commit447a805f04115a0e32a1b9ad6be7c0177c3f8977 (patch)
tree9a9ccb14fe3e2afab9ab8bfbe84906f221480cca
parentd20e9438cec2ce6d495ff4168da6852cf58c6964 (diff)
downloadz180-stamp-447a805f04115a0e32a1b9ad6be7c0177c3f8977.zip
cli.c bugfix: Comment only lines are not an error.
-rw-r--r--avr/cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/avr/cli.c b/avr/cli.c
index 922f9e1..9f48d3d 100644
--- a/avr/cli.c
+++ b/avr/cli.c
@@ -319,8 +319,8 @@ static int cli_run_command(const char *cmd, int flag)
/* Extract arguments */
argc = cli_parse_line(finaltoken, argv);
if (argc == 0) {
- rc = -1; /* no command at all */
- continue;
+ //rc = -1;
+ continue; /* no command at all */
}
if (opt_xtrace)