fixed casting of TCP flag in cc110x driver

This commit is contained in:
Oleg Hahm 2013-09-17 19:50:35 +02:00
parent e69acfbba1
commit 3e75b3828b

View File

@ -743,7 +743,7 @@ void cc1100_phy_rx_handler(void)
/* Stop the burst */ /* Stop the burst */
rflags.LL_ACK = true; rflags.LL_ACK = true;
rflags.RSSI_SEND = p->phy_src; rflags.RSSI_SEND = p->phy_src;
rflags.TCP = (uint32_t)((uint16_t *)p->data)[0]; rflags.TCP = (uint32_t)((uint16_t *)p->data);
} }
return; return;