Skip to content

Commit

Permalink
libusb: fix packet log path scope
Browse files Browse the repository at this point in the history
  • Loading branch information
mringwal committed Jun 1, 2022
1 parent 424c211 commit a94ee70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion port/libusb/main.c
Expand Up @@ -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), "_");
Expand Down

0 comments on commit a94ee70

Please sign in to comment.