style
This commit is contained in:
1 parent
21e54ba9b1
commit
238572c337
14 files changed
+81
-82
No files matched your search
@@ -131,4 +131,4 @@ int uart_parse_address_port(char *addrPortStr, const char **addrStr, const char
|
||||
}
|
||||
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user