Nisarg Sheth / ADMX2001
Revision:
6:7d8f30b3bc57
Parent:
4:eb7a23c25751
Child:
9:f286301109fb
--- a/message.h	Thu Oct 07 09:36:40 2021 +0000
+++ b/message.h	Wed Oct 27 06:46:56 2021 +0000
@@ -45,11 +45,11 @@
 //#define ENABLE_DEBUG
 
 /** Prints Info  Message */
-#define INFO_MSG(...) printf("", __VA_ARGS__);
+#define INFO_MSG(X) printf("%s\n\r", X);
 /** Prints warn message */
-#define WARN_MSG(...) printf("Warn : ", __VA_ARGS__);
+#define WARN_MSG(X) printf("Warn : \n\r", X);
 /** Prints error message */
-#define ERROR_MSG(...) printf("Error : ", __VA_ARGS__);
+#define ERROR_MSG(X) printf("Error : %s\n\r", X);
 
 #endif /* __MESSAGE_H__ */