mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-05 00:40:19 +00:00
Avoid link error with CCS
This commit is contained in:
parent
17d9831b7e
commit
1fd51e4555
@ -244,7 +244,7 @@ void hci_dump_log(const char * format, ...){
|
|||||||
#ifdef EMBEDDED
|
#ifdef EMBEDDED
|
||||||
printf("LOG -- ");
|
printf("LOG -- ");
|
||||||
vprintf(format, argptr);
|
vprintf(format, argptr);
|
||||||
putchar('\n');
|
printf("\n");
|
||||||
#else
|
#else
|
||||||
int len = vsnprintf(log_message_buffer, sizeof(log_message_buffer), format, argptr);
|
int len = vsnprintf(log_message_buffer, sizeof(log_message_buffer), format, argptr);
|
||||||
hci_dump_packet(LOG_MESSAGE_PACKET, 0, (uint8_t*) log_message_buffer, len);
|
hci_dump_packet(LOG_MESSAGE_PACKET, 0, (uint8_t*) log_message_buffer, len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user