mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
TSCH: fix compiler warning that shows up when disabling TSCH_LOG_LEVEL
This commit is contained in:
parent
8b3d220761
commit
73fcfa42c2
@ -936,6 +936,7 @@ send_packet(mac_callback_t sent, void *ptr)
|
||||
tsch_queue_packet_count(addr),
|
||||
p->header_len,
|
||||
queuebuf_datalen(p->qb));
|
||||
(void)packet_count_before; /* Discard "variable set but unused" warning in case of TSCH_LOG_LEVEL of 0 */
|
||||
}
|
||||
}
|
||||
if(ret != MAC_TX_DEFERRED) {
|
||||
|
Loading…
Reference in New Issue
Block a user