Skip to content

Commit 88364c5

Browse files
committed
Issue #977 - Fixed ( mcpsIndication->FramePending == true ) to used the right type. ( mcpsIndication->FramePending != 0 )
1 parent 7d86021 commit 88364c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/LoRaMac/common/LmHandler/LmHandler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ static void McpsIndication( McpsIndication_t *mcpsIndication )
752752
// Call packages RxProcess function
753753
LmHandlerPackagesNotify( PACKAGE_MCPS_INDICATION, mcpsIndication );
754754

755-
if( ( ( mcpsIndication->FramePending == true ) && ( LmHandlerGetCurrentClass( ) == CLASS_A ) ) ||
755+
if( ( ( mcpsIndication->FramePending != 0 ) && ( LmHandlerGetCurrentClass( ) == CLASS_A ) ) ||
756756
( mcpsIndication->ResponseTimeout > 0 ) )
757757
{
758758
// The server signals that it has pending data to be sent.

0 commit comments

Comments
 (0)