add __weak for rt_hw_console_output (IAR)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1172 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
wuyangyong 2010-12-02 03:36:19 +00:00
parent 6ae0b45820
commit 80af4ee98e

View File

@ -942,7 +942,7 @@ void rt_hw_console_output(const char* str)
#elif defined(__CC_ARM) #elif defined(__CC_ARM)
__weak void rt_hw_console_output(const char* str) __weak void rt_hw_console_output(const char* str)
#elif defined(__IAR_SYSTEMS_ICC__) #elif defined(__IAR_SYSTEMS_ICC__)
void rt_hw_console_output(const char* str) __weak void rt_hw_console_output(const char* str)
#endif #endif
{ {
/* empty console output */ /* empty console output */