summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/logdiskf.h9
1 files 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;
67void _logdiskf(const char* file, const char level, 67void _logdiskf(const char* file, const char level,
68 const char *format, ...) ATTRIBUTE_PRINTF(3, 4); 68 const char *format, ...) ATTRIBUTE_PRINTF(3, 4);
69 69
70#else /* !ROCKBOX_HAS_LOGF */ 70#else /* !ROCKBOX_HAS_LOGDISKF */
71 71
72/* built without logdiskf() support enabled, replace logdiskf() by DEBUGF() */ 72/* built without logdiskf() support enabled, replace logdiskf() by DEBUGF() */
73#define logdiskf(f,args...) DEBUGF(f"\n",##args)
74
75#endif /* !ROCKBOX_HAS_LOGDISKF */
76
77#else
78
79#define ERRORF DEBUGF 73#define ERRORF DEBUGF
80#define WARNF DEBUGF 74#define WARNF DEBUGF
81#define NOTEF DEBUGF 75#define NOTEF DEBUGF
82 76
77#endif
83#endif /* LOGDISKF_H */ 78#endif /* LOGDISKF_H */
84 79
85 80