Skip to content

Commit

Permalink
Fix formatting and spell check
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
  • Loading branch information
aggarg authored and xuan97z1 committed Sep 9, 2024
1 parent e3c75af commit 64aca62
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions source/portable/NetworkInterface/RX/NetworkInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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

/***********************************************************************************************************************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 64aca62

Please sign in to comment.