mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cc2538: disable l2 ack recv irq
This commit is contained in:
parent
25e18dad88
commit
77250f89a3
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user