We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b111c84 commit 1297790Copy full SHA for 1297790
components/esp_driver_usb_serial_jtag/src/usb_serial_jtag.c
@@ -183,7 +183,7 @@ esp_err_t usb_serial_jtag_driver_install(usb_serial_jtag_driver_config_t *usb_se
183
}
184
185
p_usb_serial_jtag_obj->tx_ring_buf = xRingbufferCreate(usb_serial_jtag_config->tx_buffer_size, RINGBUF_TYPE_BYTEBUF);
186
- if (p_usb_serial_jtag_obj->rx_ring_buf == NULL) {
+ if (p_usb_serial_jtag_obj->tx_ring_buf == NULL) {
187
ESP_LOGE(USB_SERIAL_JTAG_TAG, "ringbuffer create error");
188
err = ESP_ERR_NO_MEM;
189
goto _exit;
0 commit comments