mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-23 11:43:24 +00:00
libusb: parse -u 11-22-33 as USB path, too
This commit is contained in:
parent
7ef6a7bbd9
commit
a4c4a5d697
@ -108,7 +108,7 @@ int main(int argc, const char * argv[]){
|
|||||||
usb_path_len++;
|
usb_path_len++;
|
||||||
printf("%02x ", port);
|
printf("%02x ", port);
|
||||||
if (!delimiter) break;
|
if (!delimiter) break;
|
||||||
if (*delimiter != ':') break;
|
if (*delimiter != ':' && *delimiter != '-') break;
|
||||||
port_str = delimiter+1;
|
port_str = delimiter+1;
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user