Skip to content

Commit

Permalink
Add ipconfigEMAC_TASK_HOOK macro to STMH7xx network interface (#1176)
Browse files Browse the repository at this point in the history
Add ipconfigEMAC_TASK_HOOK macro to STMH7xx network interface
  • Loading branch information
kzorer authored Aug 7, 2024
1 parent c81b363 commit bb11bb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/portable/NetworkInterface/STM32Hxx/NetworkInterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
#define niEMAC_HANDLER_TASK_PRIORITY configMAX_PRIORITIES - 1
#endif

#ifndef ipconfigEMAC_TASK_HOOK
#define ipconfigEMAC_TASK_HOOK()
#endif

/* Bit map of outstanding ETH interrupt events for processing. */
static volatile uint32_t ulISREvents;
Expand Down Expand Up @@ -1193,6 +1196,8 @@ static void prvEMACHandlerTask( void * pvParameters )
prvEthernetUpdateConfig( pdFALSE );
}
}

ipconfigEMAC_TASK_HOOK();
}
}

Expand Down

0 comments on commit bb11bb9

Please sign in to comment.