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:
@@ -696,7 +696,7 @@ void mac802154_setupindirect(FAR struct ieee802154_privmac_s *priv,
|
||||
|
||||
ticks = mac802154_symtoticks(priv, symbols);
|
||||
|
||||
txdesc->purgetime = clock_systimer() + ticks;
|
||||
txdesc->purgetime = clock_systime_ticks() + ticks;
|
||||
|
||||
/* Make sure the beacon gets updated */
|
||||
|
||||
@@ -763,7 +763,7 @@ static void mac802154_purge_worker(FAR void *arg)
|
||||
* since in scheduling the timer to expire in only a few ticks.
|
||||
*/
|
||||
|
||||
if (clock_systimer() >= txdesc->purgetime)
|
||||
if (clock_systime_ticks() >= txdesc->purgetime)
|
||||
{
|
||||
/* Unlink the transaction */
|
||||
|
||||
@@ -784,7 +784,7 @@ static void mac802154_purge_worker(FAR void *arg)
|
||||
/* Reschedule the transaction for the next timeout */
|
||||
|
||||
work_queue(HPWORK, &priv->purge_work, mac802154_purge_worker,
|
||||
(FAR void *)priv, txdesc->purgetime - clock_systimer());
|
||||
priv, txdesc->purgetime - clock_systime_ticks());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user