mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 14:42:33 +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
|
// log into file using HCI_DUMP_PACKETLOGGER format
|
||||||
|
char pklg_path[100];
|
||||||
if (log_file_path == NULL){
|
if (log_file_path == NULL){
|
||||||
char pklg_path[100];
|
|
||||||
btstack_strcpy(pklg_path, sizeof(pklg_path), "/tmp/hci_dump");
|
btstack_strcpy(pklg_path, sizeof(pklg_path), "/tmp/hci_dump");
|
||||||
if (usb_path_len){
|
if (usb_path_len){
|
||||||
btstack_strcat(pklg_path, sizeof(pklg_path), "_");
|
btstack_strcat(pklg_path, sizeof(pklg_path), "_");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user