better offline mode

This commit is contained in:
Philippe Teuwen committed 2019-04-30 23:52:40 +02:00
1 parent f8f39d6196
commit 820a6d99a9
13 files changed
+47 -57

No files matched your search

+1 -1
View File
@@ -569,7 +569,7 @@ static int CmdHIDBrute(const char *Cmd) {
// main loop
for (;;) {
if (IsOffline()) {
if (!session.pm3_present) {
PrintAndLogEx(WARNING, "Device offline\n");
return 2;
}