From 80af4ee98ee554c590a7b7a308e5a80e5b391646 Mon Sep 17 00:00:00 2001 From: wuyangyong Date: Thu, 2 Dec 2010 03:36:19 +0000 Subject: [PATCH] add __weak for rt_hw_console_output (IAR) git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1172 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/kservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kservice.c b/src/kservice.c index af293cabd7..c0ff6d2f6c 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -942,7 +942,7 @@ void rt_hw_console_output(const char* str) #elif defined(__CC_ARM) __weak void rt_hw_console_output(const char* str) #elif defined(__IAR_SYSTEMS_ICC__) -void rt_hw_console_output(const char* str) +__weak void rt_hw_console_output(const char* str) #endif { /* empty console output */