chg: commandline mode execution now has less output
This commit is contained in:
@@ -160,7 +160,7 @@ void main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
|
|||||||
rarg.run = 1;
|
rarg.run = 1;
|
||||||
pthread_create(&reader_thread, NULL, &uart_receiver, &rarg);
|
pthread_create(&reader_thread, NULL, &uart_receiver, &rarg);
|
||||||
// cache Version information now:
|
// cache Version information now:
|
||||||
CmdVersion(NULL);
|
CmdVersion( (script_cmds_file) ? "s" : NULL );
|
||||||
}
|
}
|
||||||
|
|
||||||
if (script_cmds_file) {
|
if (script_cmds_file) {
|
||||||
@@ -186,7 +186,7 @@ void main_loop(char *script_cmds_file, char *script_cmd, bool usb_present) {
|
|||||||
rarg.run = 1;
|
rarg.run = 1;
|
||||||
pthread_create(&reader_thread, NULL, &uart_receiver, &rarg);
|
pthread_create(&reader_thread, NULL, &uart_receiver, &rarg);
|
||||||
// cache Version information now:
|
// cache Version information now:
|
||||||
CmdVersion(NULL);
|
CmdVersion( (script_cmds_file) ? "s" : NULL );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user