mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-28 07:56:23 +08:00
cleaning
This commit is contained in:
parent
f60977695a
commit
43db2a50e2
1 changed files with 1 additions and 3 deletions
|
@ -512,15 +512,13 @@ static int CmdConnect(const char *Cmd) {
|
|||
if ( port == NULL ) {
|
||||
return usage_hw_connect();
|
||||
}
|
||||
|
||||
// if we were already connected, disconnect first.
|
||||
//if (session.pm3_present) {
|
||||
PrintAndLogEx(INFO, "Disconnecting from current serial port");
|
||||
CloseProxmark();
|
||||
session.pm3_present = false;
|
||||
//}
|
||||
|
||||
// set timeouts
|
||||
//int res = uart_reconfigure_timeouts(sp, UART_USB_CLIENT_RX_TIMEOUT_MS);
|
||||
|
||||
// try to open serial port
|
||||
session.pm3_present = OpenProxmark(port, false, 20, false, USART_BAUD_RATE);
|
||||
|
|
Loading…
Add table
Reference in a new issue