mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 01:28:23 +00:00
Modified return value
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2379 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user