Skip to content

Commit

Permalink
fixup! gnrc/sock: recv avoid spinning xtimer
Browse files Browse the repository at this point in the history
  • Loading branch information
kfessel committed Sep 9, 2021
1 parent 31e8eed commit 2b560b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/sock/gnrc_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ssize_t gnrc_sock_recv(gnrc_sock_reg_t *reg, gnrc_pktsnip_t **pkt_out,

/* xtimer_spin would make this never receive anything avoid it by setting
/* the minimal not spinning timeout */
if (timeout < XTIMER_BACKOFF){
if (timeout < XTIMER_BACKOFF) {
timeout = XTIMER_BACKOFF;
}

Expand Down

0 comments on commit 2b560b7

Please sign in to comment.