add: 'hw connect' - lets you connect to a specified serial port. If already connected, it disconnects current port before.
This commit is contained in:
@@ -158,8 +158,12 @@ main_loop(char *script_cmds_file, char *script_cmd) {
|
||||
printprompt = true;
|
||||
|
||||
} else {
|
||||
rl_event_hook = check_comm;
|
||||
cmd = readline(PROXPROMPT);
|
||||
//rl_event_hook = check_comm;
|
||||
if (session.pm3_present )
|
||||
cmd = readline(PROXPROMPT);
|
||||
else
|
||||
cmd = readline("[offline] "PROXPROMPT);
|
||||
|
||||
fflush(NULL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user