diff --git a/lib/os/assert.c b/lib/os/assert.c index 1fee487bff64e..4f37f62d031b7 100644 --- a/lib/os/assert.c +++ b/lib/os/assert.c @@ -44,7 +44,17 @@ __weak void assert_post_action(const char *file, unsigned int line) } EXPORT_SYMBOL(assert_post_action); -void assert_print(const char *fmt, ...) +/** + * @brief Assert Print Handler + * + * This routine implements printing the assertion message. + * + * System designers may wish to substitute this implementation to store the + * assertion, or otherwise change the behavior of the assertion print + * + * @param N/A + */ +__weak void assert_print(const char *fmt, ...) { va_list ap;