Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: message.h
- 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__ */
