summaryrefslogtreecommitdiff
path: root/firmware/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/debug.c')
-rw-r--r--firmware/debug.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/firmware/debug.c b/firmware/debug.c
index 21583cd..00c37cc 100644
--- a/firmware/debug.c
+++ b/firmware/debug.c
@@ -215,13 +215,9 @@ void debug_init(void)
void debugf(char *fmt, ...)
{
-#ifdef DEBUG
va_list ap;
-
va_start( ap, fmt );
- vsnprintf( debugmembuf, sizeof(debugmembuf), fmt, ap );
+ vfprintf( stderr, fmt, ap );
va_end( ap );
- printf( "%s", debugmembuf );
-#endif
}
#endif