Skip to content

Commit ece83ff

Browse files
Merge branch 'main' into zynq_slcr
2 parents 593de64 + 9cf8431 commit ece83ff

File tree

4 files changed

+8
-34
lines changed

4 files changed

+8
-34
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ jobs:
106106
echo "::endgroup::"
107107
echo -e "${{ env.bashPass }} Built Coverage Tests ${{ env.bashEnd }}"
108108
109-
wget https://github.com/linux-test-project/lcov/releases/download/v2.3.1/lcov-2.3.1.tar.gz
110-
tar -xvzf lcov-2.3.1.tar.gz
111-
./lcov-2.3.1/bin/lcov --list --rc branch_coverage=1 test/unit-test/build/coverage.info
109+
lcov --summary --rc lcov_branch_coverage=1 test/unit-test/build/coverage.info
112110
113111
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }}"
114112

.github/workflows/formatting.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

source/FreeRTOS_Sockets.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3900,12 +3900,6 @@ void vSocketWakeUpUser( FreeRTOS_Socket_t * pxSocket )
39003900
if( pxParentSocket->u.xTCP.bits.bReuseSocket == pdFALSE_UNSIGNED )
39013901
{
39023902
pxClientSocket = pxParentSocket->u.xTCP.pxPeerSocket;
3903-
3904-
if( pxClientSocket != NULL )
3905-
{
3906-
FreeRTOS_printf( ( "prvAcceptWaitClient: client %p parent %p\n",
3907-
( void * ) pxClientSocket, ( void * ) pxParentSocket ) );
3908-
}
39093903
}
39103904
else
39113905
{
@@ -3932,6 +3926,12 @@ void vSocketWakeUpUser( FreeRTOS_Socket_t * pxSocket )
39323926
}
39333927
( void ) xTaskResumeAll();
39343928

3929+
if( ( pxClientSocket != NULL ) && ( pxParentSocket->u.xTCP.bits.bReuseSocket == pdFALSE_UNSIGNED ) )
3930+
{
3931+
FreeRTOS_printf( ( "prvAcceptWaitClient: client %p parent %p\n",
3932+
( void * ) pxClientSocket, ( void * ) pxParentSocket ) );
3933+
}
3934+
39353935
if( pxClientSocket != NULL )
39363936
{
39373937
if( pxAddressLength != NULL )

source/FreeRTOS_UDP_IPv4.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,7 @@ void vProcessGeneratedUDPPacket_IPv4( NetworkBufferDescriptor_t * const pxNetwor
273273

274274
/* 'ulIPAddress' might have become the address of the Gateway.
275275
* Find the route again. */
276-
277-
pxNetworkBuffer->pxEndPoint = FreeRTOS_FindEndPointOnNetMask( pxNetworkBuffer->xIPAddress.ulIP_IPv4 );
276+
pxNetworkBuffer->pxEndPoint = FreeRTOS_FindEndPointOnNetMask( ulIPAddress );
278277

279278
if( pxNetworkBuffer->pxEndPoint == NULL )
280279
{

0 commit comments

Comments
 (0)