]> cloudbase.mooo.com Git - z180-stamp.git/commitdiff
cli.c bugfix: Comment only lines are not an error.
authorLeo C <leo@lenti.loc>
Wed, 27 Jun 2018 21:43:19 +0000 (23:43 +0200)
committerLeo C <leo@lenti.loc>
Wed, 27 Jun 2018 21:43:19 +0000 (23:43 +0200)
avr/cli.c

index 922f9e1971ee7087ada1d0ab67488f358629e4ba..9f48d3dca87f92ef942fefc26a8c68da5c9bb0b6 100644 (file)
--- 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)