mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
gnrc tx-sync: add cast for c++ compatibility
This commit is contained in:
parent
c71a52dc0c
commit
185570b034
@ -108,7 +108,7 @@ gnrc_pktsnip_t * gnrc_tx_sync_split(gnrc_pktsnip_t *pkt);
|
||||
static inline void gnrc_tx_complete(gnrc_pktsnip_t *pkt)
|
||||
{
|
||||
assert(IS_USED(MODULE_GNRC_TX_SYNC) && (pkt->type == GNRC_NETTYPE_TX_SYNC));
|
||||
gnrc_tx_sync_t *sync = pkt->data;
|
||||
gnrc_tx_sync_t *sync = (gnrc_tx_sync_t*)pkt->data;
|
||||
mutex_unlock(&sync->signal);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user