Ver Fonte

fix fix stm32f4x7_eth_bsp.c

TelenkovDmitry há 7 anos atrás
pai
commit
23a9abbffb

+ 1 - 1
modules/STM32F4x7_ETH_Driver/stm32f4x7_eth_bsp.c

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

+ 1 - 1
stm32/stm32f4x7_ethernet/stm32f4x7_eth_bsp.c

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