Skip to content

Commit

Permalink
Merge pull request #5869 from smlng/pr/cc2538/disable_accept_l2ack
Browse files Browse the repository at this point in the history
cc2538: disable l2 ack recv irq
  • Loading branch information
PeterKietzmann committed Sep 27, 2016
2 parents 25e18da + 77250f8 commit bf6d700
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpu/cc2538/radio/cc2538_rf.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}

Expand Down

0 comments on commit bf6d700

Please sign in to comment.