mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-23 20:02:33 +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:
@@ -177,7 +177,7 @@ static rt_err_t air32_hwtimer_control(struct rt_hwtimer_device *device, rt_uint3
|
||||
break;
|
||||
|
||||
default:
|
||||
result = RT_ENOSYS;
|
||||
result = -RT_EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user