From bf5cb1e98ed9c4fb1c6dc157892fd8ac25dda42f Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Sun, 23 Apr 2017 18:58:16 +0200 Subject: Get logging working. --- utils/log.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'utils') diff --git a/utils/log.c b/utils/log.c index f54430305..15a7a9e75 100644 --- a/utils/log.c +++ b/utils/log.c @@ -173,7 +173,6 @@ static const char *nslog_gettime(void) void nslog_log(const char *file, const char *func, int ln, const char *format, ...) { -#ifndef _TARGET_IS_KOLIBRIOS va_list ap; fprintf(logfile, "%s %s:%i %s: ", nslog_gettime(), file, ln, func); @@ -185,17 +184,6 @@ void nslog_log(const char *file, const char *func, int ln, const char *format, . va_end(ap); fputc('\n', logfile); -#else - va_list ap; - char message[1000]; - - va_start(ap, format); - vsprintf(message, format, ap); - va_end(ap); - - debug_board_printf(message); - debug_board_printf("\n"); -#endif } #endif -- cgit v1.2.3