diff options
| author | Meco Man <[email protected]> | 2023-08-07 12:30:43 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2023-08-08 22:34:25 -0400 |
| commit | cb810dfe750dab6a53a8c20d83f082e0a12ab024 (patch) | |
| tree | d1c2e4752ebe2f2f9900fd7a836b73151cff8ab6 /src | |
| parent | 92859cc79e2053eb50b555be5002158fab49b9ba (diff) | |
rt_hw_cpu_reset: remove all other rt_weak
Diffstat (limited to 'src')
| -rw-r--r-- | src/kservice.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kservice.c b/src/kservice.c index b29497c765..6c9389dfc5 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -66,20 +66,20 @@ static rt_device_t _console_device = RT_NULL; rt_weak void rt_hw_us_delay(rt_uint32_t us) { (void) us; - LOG_D("rt_hw_us_delay() doesn't support for this board." + LOG_W("rt_hw_us_delay() doesn't support for this board." "Please consider implementing rt_hw_us_delay() in another file."); } -rt_weak const char *rt_hw_cpu_arch(void) +rt_weak void rt_hw_cpu_reset(void) { - return "unknown"; + LOG_W("rt_hw_cpu_reset() doesn't support for this board." + "Please consider implementing rt_hw_cpu_reset() in another file."); + return; } -rt_weak void rt_hw_cpu_reset(void) +rt_weak const char *rt_hw_cpu_arch(void) { - LOG_D("rt_hw_cpu_reset() doesn't support for this board." - "Please consider implementing rt_hw_cpu_reset() in another file."); - return ; + return "unknown"; } static const char* rt_errno_strs[] = |
