Avoid link error with CCS

This commit is contained in:
matthias.ringwald@gmail.com 2014-11-19 19:30:24 +00:00
parent 17d9831b7e
commit 1fd51e4555

View File

@ -244,7 +244,7 @@ void hci_dump_log(const char * format, ...){
#ifdef EMBEDDED
printf("LOG -- ");
vprintf(format, argptr);
putchar('\n');
printf("\n");
#else
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);