cc2538-rf: I see no point in flushing twice

This commit is contained in:
kkrentz 2018-08-02 01:08:45 -07:00
parent 3045a47a29
commit c919975d41
1 changed files with 0 additions and 2 deletions

View File

@ -113,7 +113,6 @@
*/ */
#define CC2538_RF_CSP_ISFLUSHRX() do { \ #define CC2538_RF_CSP_ISFLUSHRX() do { \
REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISFLUSHRX; \ REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISFLUSHRX; \
REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISFLUSHRX; \
} while(0) } while(0)
/** /**
@ -121,7 +120,6 @@
*/ */
#define CC2538_RF_CSP_ISFLUSHTX() do { \ #define CC2538_RF_CSP_ISFLUSHTX() do { \
REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISFLUSHTX; \ REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISFLUSHTX; \
REG(RFCORE_SFR_RFST) = CC2538_RF_CSP_OP_ISFLUSHTX; \
} while(0) } while(0)
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** The NETSTACK data structure for the cc2538 RF driver */ /** The NETSTACK data structure for the cc2538 RF driver */