kopia lustrzana https://github.com/espressif/esp-idf
light sleep: diable phy tsens for esp32s3
rodzic
4ae9428cb7
commit
e3c13f8770
|
@ -69,7 +69,7 @@ void phy_wakeup_init(void);
|
|||
*/
|
||||
void phy_close_rf(void);
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S2
|
||||
#if !CONFIG_IDF_TARGET_ESP32
|
||||
/**
|
||||
* @brief Disable PHY temperature sensor.
|
||||
*/
|
||||
|
|
|
@ -262,7 +262,7 @@ void esp_phy_disable(void)
|
|||
phy_digital_regs_store();
|
||||
// Disable PHY and RF.
|
||||
phy_close_rf();
|
||||
#if CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S2
|
||||
#if !CONFIG_IDF_TARGET_ESP32
|
||||
// Disable PHY temperature sensor
|
||||
phy_xpd_tsens();
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue