Modified return value
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2379 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
aefe518780
commit
fa9a7b0b0c
|
@ -463,6 +463,11 @@ rt_err_t rt_alarm_start(rt_alarm_t alarm)
|
|||
{
|
||||
ret = alarm_set(alarm);
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = RT_EOK;
|
||||
goto _exit;
|
||||
}
|
||||
}
|
||||
|
||||
if (ret == RT_EOK)
|
||||
|
|
Loading…
Reference in New Issue