mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
add: 'hw connect' - lets you connect to a specified serial port. If already connected, it disconnects current port before.
This commit is contained in:
parent
fba239b3e2
commit
61d250a7f8
3 changed files with 62 additions and 16 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue