Skip to content

Commit

Permalink
Merge pull request #20972 from IsikcanYilmaz/pr/esp32_usb_serial_jtag…
Browse files Browse the repository at this point in the history
…_isr_flag_reset

cpu/esp32/stdio_usb_serial_jtag: Fix to ESP32 stdio usb serial hanging if it receives data too quickly
  • Loading branch information
mguetschow authored Nov 12, 2024
2 parents 15086a2 + a21d302 commit ec9afd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpu/esp32/stdio_usb_serial_jtag/usb_serial_jtag.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ static void _serial_intr_handler(void *arg)
}
USB_SERIAL_JTAG.ep1.rdwr_byte = c;
}
usb_serial_jtag_ll_txfifo_flush();
}

/* clear all interrupt flags */
usb_serial_jtag_ll_clr_intsts_mask(mask);
usb_serial_jtag_ll_clr_intsts_mask(USB_SERIAL_JTAG_LL_INTR_MASK);
usb_serial_jtag_ll_txfifo_flush();

irq_isr_exit();
}
Expand Down

0 comments on commit ec9afd2

Please sign in to comment.