mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-06 07:00:59 +00:00
libusb: allow command line arguments for examples
This commit is contained in:
parent
c0fa7c1deb
commit
9735997986
@ -269,6 +269,9 @@ int main(int argc, const char * argv[]){
|
||||
if (c < 0) {
|
||||
break;
|
||||
}
|
||||
if (c == '?'){
|
||||
break;
|
||||
}
|
||||
switch (c) {
|
||||
case 'u':
|
||||
usb_path_string = optarg;
|
||||
@ -279,7 +282,6 @@ int main(int argc, const char * argv[]){
|
||||
case 'r':
|
||||
tlv_reset = true;
|
||||
break;
|
||||
case '?':
|
||||
case 'h':
|
||||
default:
|
||||
usage(argv[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user