libusb: remove parsed -u argument from command line arguments before passing it to btstack_main()

This commit is contained in:
Matthias Ringwald 2017-03-01 09:19:32 +01:00
parent 1a24892321
commit 7c3351a5e0

View File

@ -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 ///