diff options
| author | Meco Man <[email protected]> | 2022-04-14 18:12:56 -0400 |
|---|---|---|
| committer | guo <[email protected]> | 2022-04-19 11:26:41 +0800 |
| commit | 5e9f525c41b6ce70662c1d0770f125de0387a5ef (patch) | |
| tree | c40b91359dda359fdeaa5fcce7a59c978f234dc8 /src | |
| parent | d6c74af535484b03372aefcfa87e5c5c16f5d101 (diff) | |
[kernel] enable RT_DEBUG_DEVICE by default and move weak rt_hw_dealy_us in kservice.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/kservice.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kservice.c b/src/kservice.c index 3c4e652c3f..ff9d3c9cef 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -45,6 +45,13 @@ static volatile int __rt_errno; static rt_device_t _console_device = RT_NULL; #endif +RT_WEAK void rt_hw_us_delay(rt_uint32_t us) +{ + (void) us; + RT_DEBUG_LOG(RT_DEBUG_DEVICE, ("rt_hw_us_delay() doesn't support for this board." + "Please consider implementing rt_hw_us_delay() in another file.")); +} + /** * This function gets the global errno for the current thread. * |
