mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_wifi: close tsen when close phy
This commit is contained in:
parent
ada4a8274f
commit
c80310b1f6
@ -69,7 +69,7 @@ void phy_wakeup_init(void);
|
||||
*/
|
||||
void phy_close_rf(void);
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32C3
|
||||
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S2
|
||||
/**
|
||||
* @brief Disable PHY temperature sensor.
|
||||
*/
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 91bb607df544fb5499a7ae21ba5c32c5d731ea01
|
||||
Subproject commit 276c3a195fe2dde58fffd6bdb5e75c937ed0c049
|
@ -265,7 +265,7 @@ void esp_phy_disable(void)
|
||||
phy_digital_regs_store();
|
||||
// Disable PHY and RF.
|
||||
phy_close_rf();
|
||||
#if CONFIG_IDF_TARGET_ESP32C3
|
||||
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S2
|
||||
// Disable PHY temperature sensor
|
||||
phy_xpd_tsens();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user