소스 검색

fix fix stm32f4x7_eth_bsp.c

TelenkovDmitry 8 년 전
부모
커밋
23a9abbffb
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      modules/STM32F4x7_ETH_Driver/stm32f4x7_eth_bsp.c
  2. 1 1
      stm32/stm32f4x7_ethernet/stm32f4x7_eth_bsp.c

+ 1 - 1
modules/STM32F4x7_ETH_Driver/stm32f4x7_eth_bsp.c

@@ -70,7 +70,7 @@ void ETH_BSP_Config(void)
   /* Config NVIC for Ethernet */
   /* TODO remove if tested: ETH_NVIC_Config moved after ETH_MACDMA_Config *
    * to avoid ETH IRQ to stuck the system */
-  //ETH_NVIC_Config();
+  ETH_NVIC_Config();
 
   /* Configure the Ethernet MAC/DMA */
   ETH_MACDMA_Config();

+ 1 - 1
stm32/stm32f4x7_ethernet/stm32f4x7_eth_bsp.c

@@ -67,7 +67,7 @@ void ETH_BSP_Config(void)
   ETH_GPIO_Config();
   
   /* Config NVIC for Ethernet */
-  ETH_NVIC_Config();
+  //ETH_NVIC_Config();
 
   /* Configure the Ethernet MAC/DMA */
   ETH_MACDMA_Config();