Browse Source

【完善】PHY 状态检测驱动

SummerGift 6 năm trước cách đây
mục cha
commit
44e70b3c0d
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      bsp/stm32/libraries/HAL_Drivers/drv_eth.c

+ 5 - 0
bsp/stm32/libraries/HAL_Drivers/drv_eth.c

@@ -501,9 +501,14 @@ static void phy_monitor_thread_entry(void *parameter)
                 else
                 {
                     LOG_D("PHY Control/Status REG read error."); 
+                    continue;
                 }
             }
         }
+        else
+        {
+            continue;
+        }
 
         /* linkchange */
         if (phy_speed_new != phy_speed)