Skip to content

Commit b870ee4

Browse files
committed
jtag.cpp: ENABLE_ESP_USB_JTAG -> ENABLE_ESP_USB
1 parent 0ce9fcb commit b870ee4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jtag.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#ifdef ENABLE_DIRTYJTAG
4343
#include "dirtyJtag.hpp"
4444
#endif
45-
#ifdef ENABLE_ESP_USB_JTAG
45+
#ifdef ENABLE_ESP_USB
4646
#include "esp_usb_jtag.hpp"
4747
#endif
4848
#ifdef ENABLE_CH347
@@ -162,7 +162,7 @@ Jtag::Jtag(const cable_t &cable, const jtag_pins_conf_t *pin_conf,
162162
#endif
163163
break;
164164
case MODE_ESP:
165-
#ifdef ENABLE_ESP_USB_JTAG
165+
#ifdef ENABLE_ESP_USB
166166
_jtag = new esp_usb_jtag(clkHZ, verbose, 0x303a, 0x1001);
167167
#else
168168
std::cerr << "Jtag: support for esp32s3 cable was not enabled at compile time" << std::endl;

0 commit comments

Comments
 (0)