This commit is contained in:
2021-07-12 23:40:26 +02:00
parent 9d456287ae
commit b698da3df1
2 changed files with 12 additions and 1 deletions

View File

@ -34,6 +34,7 @@
*/
/* Includes ------------------------------------------------------------------*/
#include "OBSWConfig.h"
#include "stm32h7xx_it.h"
#include "cmsis_os.h"
@ -43,7 +44,10 @@
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
#if OBSW_ADD_LWIP_COMPONENTS == 1
extern ETH_HandleTypeDef EthHandle;
#endif
/* Private function prototypes -----------------------------------------------*/
void ETH_IRQHandler(void);
/* Private functions ---------------------------------------------------------*/
@ -147,7 +151,9 @@ void SysTick_Handler(void)
*/
void ETH_IRQHandler(void)
{
#if OBSW_ADD_LWIP_COMPONENTS == 1
HAL_ETH_IRQHandler(&EthHandle);
#endif
}