This commit is contained in:
iceman1001 committed 2024-01-01 21:52:05 +01:00
1 parent 21e54ba9b1
commit 238572c337
14 files changed
+81 -82

No files matched your search

+1 -1
View File
@@ -131,4 +131,4 @@ int uart_parse_address_port(char *addrPortStr, const char **addrStr, const char
}
return PM3_SUCCESS;
}
}
+1 -2
View File
@@ -108,8 +108,7 @@ serial_port uart_open(const char *pcPortName, uint32_t speed, bool slient) {
bool isUDP = false;
bool isBluetooth = false;
bool isUnixSocket = false;
if (strlen(prefix) > 4)
{
if (strlen(prefix) > 4) {
isTCP = (memcmp(prefix, "tcp:", 4) == 0);
isUDP = (memcmp(prefix, "udp:", 4) == 0);
}