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:
Xiang Xiao
2020-05-04 22:15:10 +08:00
committed by patacongo
parent 153eee6de2
commit 517974787f
83 changed files with 393 additions and 349 deletions
+1 -1
View File
@@ -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;