Skip to content

Commit 07c676c

Browse files
committed
Fix enable phy check
1 parent 25ad46d commit 07c676c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ports/espressif/supervisor/usb_serial_jtag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ STATIC ringbuf_t ringbuf;
4242
STATIC uint8_t buf[128];
4343
STATIC volatile bool connected;
4444

45-
#if CIRCUITPY_ESP_USB_SERIAL_JTAG && !CONFIG_ESP_PHY_ENABLE_USB
45+
#if CIRCUITPY_ESP_USB_SERIAL_JTAG && defined(SOC_WIFI_PHY_NEEDS_USB_WORKAROUND) && !defined(CONFIG_ESP_PHY_ENABLE_USB)
4646
#error "CONFIG_ESP_PHY_ENABLE_USB must be enabled in sdkconfig"
4747
#endif
4848

0 commit comments

Comments
 (0)