From 3e75b3828b2224af5c5c9078f422b5130bbaf657 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Tue, 17 Sep 2013 19:50:35 +0200 Subject: [PATCH] fixed casting of TCP flag in cc110x driver --- drivers/cc110x/cc1100_phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cc110x/cc1100_phy.c b/drivers/cc110x/cc1100_phy.c index 238b375f5e..20588672ae 100644 --- a/drivers/cc110x/cc1100_phy.c +++ b/drivers/cc110x/cc1100_phy.c @@ -743,7 +743,7 @@ void cc1100_phy_rx_handler(void) /* Stop the burst */ rflags.LL_ACK = true; rflags.RSSI_SEND = p->phy_src; - rflags.TCP = (uint32_t)((uint16_t *)p->data)[0]; + rflags.TCP = (uint32_t)((uint16_t *)p->data); } return;