Skip to content

Commit

Permalink
fixup! cpu/esp32/stdio_usb_serial_jtag: port to new interface
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Feb 1, 2024
1 parent 83cf874 commit 4eb8062
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cpu/esp32/stdio_usb_serial_jtag/usb_serial_jtag.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,9 @@ static void _init(void)
#endif
}

static void _detach(bool disable)
static void _detach(void)
{
if (disable) {
intr_cntrl_ll_disable_interrupts(BIT(CPU_INUM_SERIAL_JTAG));
}
intr_cntrl_ll_disable_interrupts(BIT(CPU_INUM_SERIAL_JTAG));
}

STDIO_PROVIDER(STDIO_ESP32_SERIAL_JTAG, _init, _detach, _write)
Expand Down

0 comments on commit 4eb8062

Please sign in to comment.