File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
portable/NetworkInterface/STM32Fxx Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments