let OpenPm be responsible of setting session.pm3_present
This commit is contained in:
1 parent
061321c353
commit
532dbf28a1
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -488,7 +488,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
// try to open USB connection to Proxmark
|
||||
if (port != NULL) {
|
||||
session.pm3_present = OpenProxmark(port, waitCOMPort, 20, false, speed);
|
||||
OpenProxmark(port, waitCOMPort, 20, false, speed);
|
||||
}
|
||||
|
||||
if (session.pm3_present && (TestProxmark() != PM3_SUCCESS)) {
|
||||
|
||||
Reference in new issue
Block a user