Răsfoiți Sursa

bugfix(esp_phy): fix using wrong macro

zhangwenxu 2 ani în urmă
părinte
comite
58b0fcde36
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      components/esp_phy/src/phy_common.c

+ 1 - 1
components/esp_phy/src/phy_common.c

@@ -15,7 +15,7 @@ static volatile int64_t s_previous_timestamp;
 
 static void phy_track_pll_timer_callback(void* arg)
 {
-#if IEEE802154_ENABLED || BT_ENABLED
+#if CONFIG_IEEE802154_ENABLED || CONFIG_BT_ENABLED
     bt_track_pll_cap();
 #endif
     s_previous_timestamp = esp_timer_get_time();