mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-25 22:34:19 +08:00
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak * [rtdef] rename RT_USED attribute as rt_used * [rtdef] rename RT_SECTION attribute as rt_section * [rtdef] rename ALIGN attribute as rt_align * [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
This commit is contained in:
@@ -245,7 +245,7 @@ static void sep6200_poweroff(void)
|
||||
* reset cpu by dog's time-out
|
||||
*
|
||||
*/
|
||||
RT_WEAK void rt_hw_cpu_reset()
|
||||
rt_weak void rt_hw_cpu_reset()
|
||||
{
|
||||
|
||||
rt_kprintf("Soft reset, Restarting system...\n");
|
||||
@@ -260,7 +260,7 @@ RT_WEAK void rt_hw_cpu_reset()
|
||||
* shutdown CPU
|
||||
*
|
||||
*/
|
||||
RT_WEAK void rt_hw_cpu_shutdown()
|
||||
rt_weak void rt_hw_cpu_shutdown()
|
||||
{
|
||||
rt_base_t level;
|
||||
rt_kprintf("shutdown...\n");
|
||||
|
||||
Reference in New Issue
Block a user