@ -28,6 +28,8 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#define CC2538_ACCEPT_FT_2_ACK (1 << 5)
typedef struct {
cc2538_reg_t *reg_addr;
uint32_t value;
@ -134,7 +136,8 @@ void cc2538_init(void)
/* Flush the receive and transmit FIFOs */
RFCORE_SFR_RFST = ISFLUSHTX;
RFCORE_SFR_RFST = ISFLUSHRX;
/* Disable/filter l2 Acks */
RFCORE_XREG_FRMFILT1 &= ~CC2538_ACCEPT_FT_2_ACK;
cc2538_on();
}