DEBUG fix
This commit is contained in:
@@ -13,7 +13,9 @@ enum ErrorCodes
|
||||
#include "io/serial/serial.h"
|
||||
#include "io/term/printf.h"
|
||||
|
||||
#define DEBUG(log) \
|
||||
// Still lacks print formatting...
|
||||
#define DEBUG(log, ...) \
|
||||
printf("debug: [%s]: " log "\n", __FILE__, ##__VA_ARGS__); \
|
||||
fctprintf((void*)&skputc, 0, "debug: [%s]: %s\n", __FILE__, log)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user