TSCH: fix compiler warning that shows up when disabling TSCH_LOG_LEVEL
This commit is contained in:
parent
8b3d220761
commit
73fcfa42c2
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue