Skip to content

Commit

Permalink
fool 'streamer_esp32_write' caller if console disabled (#34773)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribsey authored and pull[bot] committed Oct 25, 2024
1 parent e11c8b7 commit ea800f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/shell/streamer_esp32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ ssize_t streamer_esp32_write(streamer_t * streamer, const char * buf, size_t len
#ifdef CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
return usb_serial_jtag_write_bytes(buf, len, 0);
#endif
#if CONFIG_ESP_CONSOLE_NONE
return len;
#endif
}

static streamer_t streamer_stdio = {
Expand Down

0 comments on commit ea800f5

Please sign in to comment.