diff options
Diffstat (limited to 'src/espik_debug.h')
-rw-r--r-- | src/espik_debug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/espik_debug.h b/src/espik_debug.h index 06514b4..a3ad93c 100644 --- a/src/espik_debug.h +++ b/src/espik_debug.h @@ -6,15 +6,15 @@ #ifdef __GNUC__ #define espik_debug_print(fmt, ...) \ { \ - fprintf (stdout, "%s+%i @%s: '"fmt"'\n", __FILE__, __LINE__, __func__, ...,); \ -/* fprintf (stdout, fmt, __VA_ARGS__); \ - fprintf (stdout, "'\n"); \ */ + fprintf (stdout, "%s+%i @%s: '", __FILE__, __LINE__, __func__); \ + fprintf (stdout, fmt, __VA_ARGS__); \ + fprintf (stdout, "'\n"); \ } #else #define espik_debug_print(fmt, ...) \ { \ } -#endif /* __GNUC__ */ +#endif /* __GNUC__ */ inline void espik_bt (void); void espik_debug_init(); |