mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-30 19:40:37 -07:00
Testing pm3 communication
This commit is contained in:
parent
3cba736841
commit
04c0384d3e
6 changed files with 25 additions and 3 deletions
|
@ -311,7 +311,6 @@ int main(int argc, char *argv[]) {
|
|||
return 1;
|
||||
}
|
||||
port = argv[i];
|
||||
PrintAndLogEx(INFO, "Using UART port %s.\n", port);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -467,8 +466,10 @@ int main(int argc, char *argv[]) {
|
|||
if (port != NULL)
|
||||
usb_present = OpenProxmark(port, waitCOMPort, 20, false, speed);
|
||||
|
||||
if (TestProxmark() == 0)
|
||||
usb_present = false;
|
||||
if (!usb_present)
|
||||
PrintAndLogEx(NORMAL, "Running in " _YELLOW_("OFFLINE") "mode. Check \"%s -h\" if it's not what you want.\n", exec_name);
|
||||
PrintAndLogEx(INFO, "Running in " _YELLOW_("OFFLINE") "mode. Check \"%s -h\" if it's not what you want.\n", exec_name);
|
||||
|
||||
#ifdef HAVE_GUI
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue