mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix/fix_icmp_echo_demo_build_fail: when CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG is enabled, build fail, repl used before defined.
This commit is contained in:
parent
59e1838270
commit
b2575902ed
@ -217,7 +217,7 @@ void app_main(void)
|
|||||||
ESP_ERROR_CHECK(esp_console_new_repl_usb_cdc(&cdc_config, &repl_config, &s_repl));
|
ESP_ERROR_CHECK(esp_console_new_repl_usb_cdc(&cdc_config, &repl_config, &s_repl));
|
||||||
#elif CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
|
#elif CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
|
||||||
esp_console_dev_usb_serial_jtag_config_t usbjtag_config = ESP_CONSOLE_DEV_USB_SERIAL_JTAG_CONFIG_DEFAULT();
|
esp_console_dev_usb_serial_jtag_config_t usbjtag_config = ESP_CONSOLE_DEV_USB_SERIAL_JTAG_CONFIG_DEFAULT();
|
||||||
ESP_ERROR_CHECK(esp_console_new_repl_usb_serial_jtag(&usbjtag_config, &repl_config, &repl));
|
ESP_ERROR_CHECK(esp_console_new_repl_usb_serial_jtag(&usbjtag_config, &repl_config, &s_repl));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Use either WiFi console commands or menuconfig options to connect to WiFi/Ethernet
|
/* Use either WiFi console commands or menuconfig options to connect to WiFi/Ethernet
|
||||||
|
Loading…
Reference in New Issue
Block a user