Modified return value

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2379 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
sc943313837@gmail.com 2012-10-29 13:35:35 +00:00
parent aefe518780
commit fa9a7b0b0c
1 changed files with 5 additions and 0 deletions

View File

@ -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)