mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #17731 from fjmolinas/pr_csma_sender_use_public_api
sys/net/link_layer/csma_sender: use public xtimer_now()
This commit is contained in:
commit
c7c5279362
@ -152,7 +152,7 @@ int csma_sender_csma_ca_send(netdev_t *dev, iolist_t *iolist,
|
||||
|
||||
/* if we arrive here, then we must perform the CSMA/CA procedure
|
||||
ourselves by software */
|
||||
random_init(_xtimer_now());
|
||||
random_init(xtimer_now_usec());
|
||||
DEBUG("csma: Starting software CSMA/CA....\n");
|
||||
|
||||
int nb = 0, be = conf->min_be;
|
||||
|
Loading…
Reference in New Issue
Block a user