chg: from offical

This commit is contained in:
Chris 2018-06-17 13:07:00 +02:00
commit 1b0a49c8ab

View file

@ -91,10 +91,12 @@ bool hookUpPM3() {
if (sp == INVALID_SERIAL_PORT) {
PrintAndLogEx(WARNING, "Reconnect failed, retrying... (reason: invalid serial port)\n");
sp = NULL;
ret = false;
offline = 1;
} else if (sp == CLAIMED_SERIAL_PORT) {
PrintAndLogEx(WARNING, "Reconnect failed, retrying... (reason: serial port is claimed by another process)\n");
sp = NULL;
ret = false;
offline = 1;
} else {