diff options
| author | Wang-Huachen <[email protected]> | 2020-11-30 12:48:23 +0800 |
|---|---|---|
| committer | Wang-Huachen <[email protected]> | 2020-11-30 12:48:23 +0800 |
| commit | f7b553b193deb179e23843d759d20d83da4b85d3 (patch) | |
| tree | ff949a536a962896aec25ff73e0abd874c84a6af /libcpu/unicore32 | |
| parent | 9756c77f0447f9ce4f00a37600298a1f1fd90cda (diff) | |
| parent | af95348bf1dd06ed2147cf9caee8a78513c31a72 (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'libcpu/unicore32')
| -rw-r--r-- | libcpu/unicore32/sep6200/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/unicore32/sep6200/cpu.c b/libcpu/unicore32/sep6200/cpu.c index ebea8750e1..9452b4e59d 100644 --- a/libcpu/unicore32/sep6200/cpu.c +++ b/libcpu/unicore32/sep6200/cpu.c @@ -259,7 +259,7 @@ static void sep6200_poweroff(void) * reset cpu by dog's time-out * */ -void rt_hw_cpu_reset() +RT_WEAK void rt_hw_cpu_reset() { rt_kprintf("Soft reset, Restarting system...\n"); @@ -274,7 +274,7 @@ void rt_hw_cpu_reset() * shutdown CPU * */ -void rt_hw_cpu_shutdown() +RT_WEAK void rt_hw_cpu_shutdown() { rt_uint32_t level; rt_kprintf("shutdown...\n"); |
