From 1e10eba6e5aa3fa422a06667a7811313d22425c2 Mon Sep 17 00:00:00 2001 From: Mu Hai Dong Date: Thu, 5 Sep 2024 12:01:07 +0800 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Jiang Jiang Jian --- components/esp_phy/Kconfig | 1 - examples/phy/cert_test/main/cert_test.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/esp_phy/Kconfig b/components/esp_phy/Kconfig index b6b4e4923e..77c4d53b0d 100644 --- a/components/esp_phy/Kconfig +++ b/components/esp_phy/Kconfig @@ -124,7 +124,6 @@ menu "PHY" config ESP_PHY_ENABLE_CERT_TEST bool "Enable RF certification test functions" default n - depends on IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 help If enabled, you can use RF certification test APIs. diff --git a/examples/phy/cert_test/main/cert_test.c b/examples/phy/cert_test/main/cert_test.c index 323e106554..af5c99ffff 100644 --- a/examples/phy/cert_test/main/cert_test.c +++ b/examples/phy/cert_test/main/cert_test.c @@ -38,9 +38,9 @@ void app_main(void) register_phy_cmd(); /* rftest.a requirements */ - #ifndef CONFIG_IDF_TARGET_ESP32H2 - esp_wifi_power_domain_on(); - #endif +#ifndef CONFIG_IDF_TARGET_ESP32H2 + esp_wifi_power_domain_on(); +#endif esp_phy_rftest_config(1); esp_phy_rftest_init();