Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cc2538: disable l2 ack recv irq #5869

Merged
merged 1 commit into from
Sep 27, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cpu/cc2538/radio/cc2538_rf.c
Original file line number Diff line number Diff line change
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