File tree Expand file tree Collapse file tree
src/STM32CubeWL/LoRaWAN/Mac Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1665,8 +1665,11 @@ static void ProcessRadioRxDone( void )
16651665
16661666 // Set the pending status
16671667 // Fix for Class C Certification test. Re-enabled part of if condition previously removed.
1668- if ( ( ( ( Nvm .MacGroup1 .SrvAckRequested == true ) || ( macMsgData .FHDR .FCtrl .Bits .FPending > 0 ) ) && ( Nvm .MacGroup2 .DeviceClass == CLASS_A ) ) ||
1669- ( MacCtx .McpsIndication .ResponseTimeout > 0 ) )
1668+ if ( ( ( ( Nvm .MacGroup1 .SrvAckRequested == true ) || ( macMsgData .FHDR .FCtrl .Bits .FPending > 0 ) ) && ( Nvm .MacGroup2 .DeviceClass == CLASS_A ) )
1669+ #if (defined ( LORAMAC_VERSION ) && (( LORAMAC_VERSION == 0x01000400 ) || ( LORAMAC_VERSION == 0x01010100 )))
1670+ || ( MacCtx .McpsIndication .ResponseTimeout > 0 )
1671+ #endif /* LORAMAC_VERSION */
1672+ )
16701673 //if( ( ( Nvm.MacGroup1.SrvAckRequested == true ) || ( macMsgData.FHDR.FCtrl.Bits.FPending > 0 ) ) && ( Nvm.MacGroup2.DeviceClass == CLASS_A ) )
16711674 {
16721675 MacCtx .McpsIndication .IsUplinkTxPending = 1 ;
You can’t perform that action at this time.
0 commit comments