mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-06-12 11:22:23 +08:00
[errno code]fix that use RT_ENOSYS without - (#7084)
* [errno code]fix that use RT_ENOSYS without - * Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c --------- Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
This commit is contained in:
@@ -613,7 +613,7 @@ static int _noncache(uintptr_t *pte)
|
||||
else
|
||||
{
|
||||
// do not support other type to be noncache
|
||||
err = RT_ENOSYS;
|
||||
err = -RT_ENOSYS;
|
||||
}
|
||||
return err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user