|
@@ -939,7 +939,7 @@ rt_device_t rt_console_set_device(const char* name)
|
|
}
|
|
}
|
|
|
|
|
|
#if defined(__GNUC__)
|
|
#if defined(__GNUC__)
|
|
-void rt_hw_console_output(const char* str) __attribute__((weak))
|
|
|
|
|
|
+void __attribute__((weak)) 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(__ICCARM__)
|
|
#elif defined(__ICCARM__)
|