diff options
| author | yangjie11 <[email protected]> | 2020-11-25 14:36:54 +0800 |
|---|---|---|
| committer | yangjie11 <[email protected]> | 2020-11-25 14:36:54 +0800 |
| commit | 6e46b3fec02cd5212402e036bac77622008094dc (patch) | |
| tree | cd992dad68f2da070123d80770877dd1499693b6 /libcpu/mips | |
| parent | d79802b942e77389e1f885d9fe27a62434c652f9 (diff) | |
| parent | 58e9e022a7aa657a8e666025cd2a587a27e911e3 (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into malloc
Diffstat (limited to 'libcpu/mips')
| -rw-r--r-- | libcpu/mips/gs232/cpuport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/mips/gs232/cpuport.c b/libcpu/mips/gs232/cpuport.c index 1b13719449..e3c078241f 100644 --- a/libcpu/mips/gs232/cpuport.c +++ b/libcpu/mips/gs232/cpuport.c @@ -23,7 +23,7 @@ * this function will reset CPU * */ -void rt_hw_cpu_reset(void) +RT_WEAK void rt_hw_cpu_reset(void) { /* open the watch-dog */ WDT_EN = 0x01; /* watch dog enable */ @@ -38,7 +38,7 @@ void rt_hw_cpu_reset(void) * this function will shutdown CPU * */ -void rt_hw_cpu_shutdown(void) +RT_WEAK void rt_hw_cpu_shutdown(void) { rt_kprintf("shutdown...\n"); |
