mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-05 21:59:45 +00:00
libusb: remove parsed -u argument from command line arguments before passing it to btstack_main()
This commit is contained in:
parent
1a24892321
commit
7c3351a5e0
@ -116,6 +116,8 @@ int main(int argc, const char * argv[]){
|
||||
port_str = delimiter+1;
|
||||
}
|
||||
printf("\n");
|
||||
argc -= 2;
|
||||
memmove(&argv[0], &argv[2], argc * sizeof(char *));
|
||||
}
|
||||
|
||||
/// GET STARTED with BTstack ///
|
||||
|
Loading…
Reference in New Issue
Block a user