aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/libcommon/include/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/libcommon/include/assert.h')
-rw-r--r--firmware/libcommon/include/assert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/libcommon/include/assert.h b/firmware/libcommon/include/assert.h
index dc6b1b5..5fc5901 100644
--- a/firmware/libcommon/include/assert.h
+++ b/firmware/libcommon/include/assert.h
@@ -89,11 +89,11 @@
/// \param condition Condition to verify.
#define ASSERT(condition) { \
if (!(condition)) { \
- printf_sync("-F- ASSERT: %s %s:%d\n\r", #condition, __BASE_FILE__, __LINE__); \
+ printf_sync("-F- ASSERT: %s %s:%d\r\n", #condition, __BASE_FILE__, __LINE__); \
while (1); \
} \
}
- #define SANITY_ERROR "Sanity check failed at %s:%d\n\r"
+ #define SANITY_ERROR "Sanity check failed at %s:%d\r\n"
/// Performs the same duty as the ASSERT() macro, except a default error
/// message is output if the condition is false.