1
0
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:
Kaspar Schleiser 2022-03-03 19:20:18 +01:00 committed by GitHub
commit c7c5279362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;