Skip to content

Commit

Permalink
sys/net/link_layer/csma_sender: use public xtimer_now()
Browse files Browse the repository at this point in the history
  • Loading branch information
fjmolinas committed Mar 2, 2022
1 parent fcc962e commit b9d2143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/link_layer/csma_sender/csma_sender.c
Original file line number Diff line number Diff line change
Expand Up @@ -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());
DEBUG("csma: Starting software CSMA/CA....\n");

int nb = 0, be = conf->min_be;
Expand Down

0 comments on commit b9d2143

Please sign in to comment.