mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
let OpenPm be responsible of setting session.pm3_present
This commit is contained in:
parent
061321c353
commit
532dbf28a1
4 changed files with 4 additions and 4 deletions
|
@ -522,7 +522,7 @@ static int CmdConnect(const char *Cmd) {
|
|||
CloseProxmark();
|
||||
}
|
||||
|
||||
session.pm3_present = OpenProxmark(port, false, 20, false, USART_BAUD_RATE);
|
||||
OpenProxmark(port, false, 20, false, USART_BAUD_RATE);
|
||||
|
||||
if (session.pm3_present && (TestProxmark() != PM3_SUCCESS)) {
|
||||
PrintAndLogEx(ERR, _RED_("ERROR:") "cannot communicate with the Proxmark\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue