summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/printf.c')
-rw-r--r--stmhal/printf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/stmhal/printf.c b/stmhal/printf.c
index acd9816a55..6fd06508ea 100644
--- a/stmhal/printf.c
+++ b/stmhal/printf.c
@@ -12,9 +12,7 @@
#include "lcd.h"
#endif
#include "usart.h"
-#if 0
#include "usb.h"
-#endif
#if MICROPY_ENABLE_FLOAT
#include "formatfloat.h"
@@ -273,12 +271,10 @@ void stdout_print_strn(void *data, const char *str, unsigned int len) {
usart_tx_strn_cooked(pyb_usart_global_debug, str, len);
any = true;
}
-#if 0
if (usb_vcp_is_enabled()) {
usb_vcp_send_strn_cooked(str, len);
any = true;
}
-#endif
if (!any) {
#if 0
#if MICROPY_HW_HAS_LCD