mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 09:55:45 +00:00
mark filename as const string
This commit is contained in:
parent
13a066ee9a
commit
a225073e6b
@ -101,7 +101,7 @@ static int nr_packets = 0;
|
||||
static char log_message_buffer[256];
|
||||
#endif
|
||||
|
||||
void hci_dump_open(char *filename, hci_dump_format_t format){
|
||||
void hci_dump_open(const char *filename, hci_dump_format_t format){
|
||||
#ifndef EMBEDDED
|
||||
dump_format = format;
|
||||
if (dump_format == HCI_DUMP_STDOUT) {
|
||||
|
@ -57,7 +57,7 @@ typedef enum {
|
||||
HCI_DUMP_STDOUT
|
||||
} hci_dump_format_t;
|
||||
|
||||
void hci_dump_open(char *filename, hci_dump_format_t format);
|
||||
void hci_dump_open(const char *filename, hci_dump_format_t format);
|
||||
void hci_dump_set_max_packets(int packets); // -1 for unlimited
|
||||
void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t len);
|
||||
void hci_dump_log(const char * format, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user