From 8ad8473d814c4ce4db62d35759939f1fae146361 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Mon, 22 Oct 2012 22:34:41 +0200 Subject: logdiskf.h - fix wrong cpp conditionals Change-Id: I6721227938955915fede32b6748802f7abf4b391 --- firmware/export/logdiskf.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/firmware/export/logdiskf.h b/firmware/export/logdiskf.h index 1da2b68b4e..76ab78606d 100644 --- a/firmware/export/logdiskf.h +++ b/firmware/export/logdiskf.h @@ -67,19 +67,14 @@ extern int logfdiskindex; void _logdiskf(const char* file, const char level, const char *format, ...) ATTRIBUTE_PRINTF(3, 4); -#else /* !ROCKBOX_HAS_LOGF */ +#else /* !ROCKBOX_HAS_LOGDISKF */ /* built without logdiskf() support enabled, replace logdiskf() by DEBUGF() */ -#define logdiskf(f,args...) DEBUGF(f"\n",##args) - -#endif /* !ROCKBOX_HAS_LOGDISKF */ - -#else - #define ERRORF DEBUGF #define WARNF DEBUGF #define NOTEF DEBUGF +#endif #endif /* LOGDISKF_H */ -- cgit v1.2.3