Skip to content

Commit bb11bb9

Browse files
authored
Add ipconfigEMAC_TASK_HOOK macro to STMH7xx network interface (#1176)
Add ipconfigEMAC_TASK_HOOK macro to STMH7xx network interface
1 parent c81b363 commit bb11bb9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/portable/NetworkInterface/STM32Hxx/NetworkInterface.c

+5
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@
8787
#define niEMAC_HANDLER_TASK_PRIORITY configMAX_PRIORITIES - 1
8888
#endif
8989

90+
#ifndef ipconfigEMAC_TASK_HOOK
91+
#define ipconfigEMAC_TASK_HOOK()
92+
#endif
9093

9194
/* Bit map of outstanding ETH interrupt events for processing. */
9295
static volatile uint32_t ulISREvents;
@@ -1193,6 +1196,8 @@ static void prvEMACHandlerTask( void * pvParameters )
11931196
prvEthernetUpdateConfig( pdFALSE );
11941197
}
11951198
}
1199+
1200+
ipconfigEMAC_TASK_HOOK();
11961201
}
11971202
}
11981203

0 commit comments

Comments
 (0)