Skip to content

Commit a5bc5a3

Browse files
author
muhaidong
committed
fix(phy): add tx_contain_en cmd for esp32c5
1 parent 68f0386 commit a5bc5a3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

examples/phy/cert_test/main/cmd_phy.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ static phy_gpio_output_set_t phy_gpio_output_set_args;
4242
#define arg_int1(_a, _b, _c, _d) arg_int1(NULL, NULL, _c, _d)
4343
#endif
4444

45-
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32C6
4645
static int esp_phy_tx_contin_en_func(int argc, char **argv)
4746
{
4847
int nerrors = arg_parse(argc, argv, (void **) &phy_args);
@@ -58,7 +57,6 @@ static int esp_phy_tx_contin_en_func(int argc, char **argv)
5857
}
5958
return 0;
6059
}
61-
#endif
6260

6361
static int esp_phy_cmdstop_func(int argc, char **argv)
6462
{
@@ -520,7 +518,6 @@ void register_phy_cmd(void)
520518
phy_args.enable = arg_int0(NULL, NULL, "<enable>", "enable");
521519
phy_args.end = arg_end(1);
522520

523-
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32C2 || CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32C6
524521
const esp_console_cmd_t tx_contin_cmd = {
525522
.command = "tx_contin_en",
526523
.help = "TX Continuous mode, 1: enable, 0: disable",
@@ -529,7 +526,6 @@ void register_phy_cmd(void)
529526
.argtable = &phy_args
530527
};
531528
ESP_ERROR_CHECK( esp_console_cmd_register(&tx_contin_cmd) );
532-
#endif
533529

534530
const esp_console_cmd_t cmdstop_cmd = {
535531
.command = "cmdstop",

0 commit comments

Comments
 (0)