mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
CC26xx autoflush bad crc packets
Setting bAutoFlushCrc=1 so that the radio co-processor will automatically drop packets with bad crc.
This commit is contained in:
parent
ca50a2c6df
commit
99d74e949f
@ -850,7 +850,7 @@ init_rf_params(void)
|
||||
GET_FIELD(cmd_ieee_rx_buf, radioOp, condition) = COND_NEVER;
|
||||
GET_FIELD(cmd_ieee_rx_buf, CMD_IEEE_RX, channel) = CC26XX_RF_CHANNEL;
|
||||
GET_FIELD(cmd_ieee_rx_buf, CMD_IEEE_RX, rxConfig) =
|
||||
BITVALUE(CMD_IEEE_RX, rxConfig, bAutoFlushCrc, 0) |
|
||||
BITVALUE(CMD_IEEE_RX, rxConfig, bAutoFlushCrc, 1) |
|
||||
BITVALUE(CMD_IEEE_RX, rxConfig, bAutoFlushIgn, 0) |
|
||||
BITVALUE(CMD_IEEE_RX, rxConfig, bIncludePhyHdr, 0) |
|
||||
BITVALUE(CMD_IEEE_RX, rxConfig, bIncludeCrc, 1) |
|
||||
|
Loading…
Reference in New Issue
Block a user