mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Rename clock_systime[r|spec] to clock_systime_[ticks|timespec]
follow up the new naming convention: https://cwiki.apache.org/confluence/display/NUTTX/Naming+of+OS+Internal+Functions
This commit is contained in:
@@ -121,7 +121,7 @@ int nxsem_tickwait(FAR sem_t *sem, clock_t start, uint32_t delay)
|
||||
|
||||
/* Adjust the delay for any time since the delay was calculated */
|
||||
|
||||
elapsed = clock_systimer() - start;
|
||||
elapsed = clock_systime_ticks() - start;
|
||||
if (/* elapsed >= (UINT32_MAX / 2) || */ elapsed >= delay)
|
||||
{
|
||||
ret = -ETIMEDOUT;
|
||||
|
||||
Reference in New Issue
Block a user