diff --git a/source/portable/NetworkInterface/RX/NetworkInterface.c b/source/portable/NetworkInterface/RX/NetworkInterface.c index d2d82a253..1c3874173 100644 --- a/source/portable/NetworkInterface/RX/NetworkInterface.c +++ b/source/portable/NetworkInterface/RX/NetworkInterface.c @@ -102,8 +102,8 @@ void prvLinkStatusChange( BaseType_t xStatus ); /*-----------------------------------------------------------*/ #if ( ipconfigIPv4_BACKWARD_COMPATIBLE != 0 ) -NetworkInterface_t * pxRX_FillInterfaceDescriptor( BaseType_t xEMACIndex, - NetworkInterface_t * pxInterface ); + NetworkInterface_t * pxRX_FillInterfaceDescriptor( BaseType_t xEMACIndex, + NetworkInterface_t * pxInterface ); #endif /* Function to initialise the network interface */ @@ -139,11 +139,11 @@ NetworkInterface_t * pxRX_FillInterfaceDescriptor( BaseType_t xEMACIndex, } #if ( ipconfigIPv4_BACKWARD_COMPATIBLE != 0 ) -NetworkInterface_t * pxFillInterfaceDescriptor( BaseType_t xEMACIndex, - NetworkInterface_t * pxInterface ) -{ - return pxRX_FillInterfaceDescriptor( xEMACIndex, pxInterface ); -} + NetworkInterface_t * pxFillInterfaceDescriptor( BaseType_t xEMACIndex, + NetworkInterface_t * pxInterface ) + { + return pxRX_FillInterfaceDescriptor( xEMACIndex, pxInterface ); + } #endif /*********************************************************************************************************************** diff --git a/test/unit-test/FreeRTOS_TCP_Reception/FreeRTOS_TCP_Reception_utest.c b/test/unit-test/FreeRTOS_TCP_Reception/FreeRTOS_TCP_Reception_utest.c index c626a522c..a12479374 100644 --- a/test/unit-test/FreeRTOS_TCP_Reception/FreeRTOS_TCP_Reception_utest.c +++ b/test/unit-test/FreeRTOS_TCP_Reception/FreeRTOS_TCP_Reception_utest.c @@ -786,7 +786,7 @@ void test_prvCheckRxData_URG_On( void ) TEST_ASSERT_EQUAL( 4, result ); } -/* Test for prvStorexData function. */ +/* Test for prvStoreRxData function. */ void test_prvStoreRxData_Happy_Path( void ) { int32_t result; @@ -827,7 +827,7 @@ void test_prvStoreRxData_Happy_Path( void ) TEST_ASSERT_EQUAL( 0, xResult ); } -/* Test for prvStorexData function. */ +/* Test for prvStoreRxData function. */ void test_prvStoreRxData_Wrong_State( void ) { int32_t result; @@ -859,7 +859,7 @@ void test_prvStoreRxData_Wrong_State( void ) TEST_ASSERT_EQUAL( 0, xResult ); } -/* Test for prvStorexData function. */ +/* Test for prvStoreRxData function. */ void test_prvStoreRxData_Zero_Length( void ) { int32_t result; @@ -901,7 +901,7 @@ void test_prvStoreRxData_Zero_Length( void ) } -/* Test for prvStorexData function. */ +/* Test for prvStoreRxData function. */ void test_prvStoreRxData_Null_RxStream( void ) { int32_t result; @@ -938,7 +938,7 @@ void test_prvStoreRxData_Null_RxStream( void ) TEST_ASSERT_EQUAL( -1, xResult ); } -/* Test for prvStorexData function. */ +/* Test for prvStoreRxData function. */ void test_prvStoreRxData_Negative_Offset( void ) { int32_t result; @@ -975,7 +975,7 @@ void test_prvStoreRxData_Negative_Offset( void ) TEST_ASSERT_EQUAL( 0, xResult ); } -/* Test for prvStorexData function. */ +/* Test for prvStoreRxData function. */ void test_prvStoreRxData_None_Zero_Skipcount( void ) { int32_t result;