mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
send output to correct stream, fix C99 compile problem
This commit is contained in:
parent
764a330277
commit
b114010b51
@ -39,14 +39,14 @@
|
||||
|
||||
#ifdef EMBEDDED
|
||||
|
||||
#define log_dbg(format, ...)
|
||||
#define log_err(format, ...)
|
||||
#define log_dbg(...)
|
||||
#define log_err(...)
|
||||
|
||||
#else
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#define log_dbg(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
|
||||
#define log_err(format, ...) printf(format, ## __VA_ARGS__)
|
||||
#define log_dbg(format, ...) printf(format, ## __VA_ARGS__)
|
||||
#define log_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user