This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530: different versions of the mac_tx.c file,Which is correct?

Part Number: CC2530

Components/mac/low_level/srf04/mac_tx.c

1.2.2a compare 3.0.1

@@ -749,19 +749,10 @@ static void txComplete(uint8 status)
   {
     /* mark receive as inactive */
     macRxActive = MAC_RX_ACTIVE_NO_ACTIVITY;
   }
   
-  /* In general, the MAC_RX_POLL is controlled by high level MAC. The flag is
-   * cleared here when no ACK is pending to allow the RX to be turned off sooner
-   * in order to save power.
-   */
-  if (status != MAC_ACK_PENDING)
-  {
-    macRxEnableFlags &= ~MAC_RX_POLL;
-  }
-
   /* turn off receive if allowed */
   macRxOffRequest();
 
   /* update transmit power in case there was a change */
   macRadioUpdateTxPower();