summaryrefslogtreecommitdiff
path: root/stm/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/printf.c')
-rw-r--r--stm/printf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stm/printf.c b/stm/printf.c
index bd8bb2d25..8a40a61a5 100644
--- a/stm/printf.c
+++ b/stm/printf.c
@@ -219,10 +219,13 @@ int pfenv_printf(const pfenv_t *pfenv, const char *fmt, va_list args) {
void stdout_print_strn(void *data, const char *str, unsigned int len) {
// send stdout to USART, USB CDC VCP, and LCD if nothing else
bool any = false;
+
+ // TODO should have a setting for which USART port to send to
if (usart_is_enabled()) {
usart_tx_strn_cooked(str, len);
any = true;
}
+
if (usb_vcp_is_enabled()) {
usb_vcp_send_strn_cooked(str, len);
any = true;