Skip to content

Commit f657706

Browse files
committed
Uncrustify: triggered by comment.
1 parent d4d9d86 commit f657706

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/include/FreeRTOSIPConfigDefaults.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@
10681068
#define ipconfigPROCESS_CUSTOM_ETHERNET_FRAMES 0
10691069
#endif
10701070

1071-
/* Set to 1 if you want to receive eNetworkDown notification via vApplicationIPNetworkEventHook() callback.
1071+
/* Set to 1 if you want to receive eNetworkDown notification via vApplicationIPNetworkEventHook() callback.
10721072
* Not all drivers support this feature. */
10731073
#ifndef ipconfigSUPPORT_NETWORK_DOWN_EVENT
10741074
#define ipconfigSUPPORT_NETWORK_DOWN_EVENT 0

source/portable/NetworkInterface/STM32Fxx/NetworkInterface.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,13 +1309,13 @@ static void prvEMACHandlerTask( void * pvParameters )
13091309
/* Something has changed to a Link Status, need re-check. */
13101310
prvEthernetUpdateConfig( pdFALSE );
13111311

1312-
#if( ipconfigSUPPORT_NETWORK_DOWN_EVENT != 0 )
1313-
{
1314-
if(xGetPhyLinkStatus() == pdFALSE)
1312+
#if ( ipconfigSUPPORT_NETWORK_DOWN_EVENT != 0 )
13151313
{
1316-
FreeRTOS_NetworkDown();
1314+
if( xGetPhyLinkStatus() == pdFALSE )
1315+
{
1316+
FreeRTOS_NetworkDown();
1317+
}
13171318
}
1318-
}
13191319
#endif /* ( ipconfigSUPPORT_NETWORK_DOWN_EVENT != 0 ) */
13201320
}
13211321
}

0 commit comments

Comments
 (0)