mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
libusb: fix packet log path scope
This commit is contained in:
parent
424c21187b
commit
a94ee701de
@ -311,8 +311,8 @@ int main(int argc, const char * argv[]){
|
||||
}
|
||||
|
||||
// log into file using HCI_DUMP_PACKETLOGGER format
|
||||
char pklg_path[100];
|
||||
if (log_file_path == NULL){
|
||||
char pklg_path[100];
|
||||
btstack_strcpy(pklg_path, sizeof(pklg_path), "/tmp/hci_dump");
|
||||
if (usb_path_len){
|
||||
btstack_strcat(pklg_path, sizeof(pklg_path), "_");
|
||||
|
Loading…
x
Reference in New Issue
Block a user