summaryrefslogtreecommitdiffstatshomepage
path: root/stm/printf.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-22 21:13:36 +0100
committerDamien <damien.p.george@gmail.com>2013-10-22 21:13:36 +0100
commit0c5827fc654b7722964483f58600e129e21c1013 (patch)
tree08018024bf61b9ee8d047b9237cd5f1e3277217b /stm/printf.c
parentbb5316b9056720a67c25934aebb5a68e4772a7da (diff)
downloadmicropython-0c5827fc654b7722964483f58600e129e21c1013.tar.gz
micropython-0c5827fc654b7722964483f58600e129e21c1013.zip
stm: improved GC, and cooked output for VCP.
Diffstat (limited to 'stm/printf.c')
-rw-r--r--stm/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/printf.c b/stm/printf.c
index 821b790b4b..3ccdd7084b 100644
--- a/stm/printf.c
+++ b/stm/printf.c
@@ -214,7 +214,7 @@ 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 LCD and USB CDC VCP
if (usb_vcp_is_enabled()) {
- usb_vcp_send_strn(str, len);
+ usb_vcp_send_strn_cooked(str, len);
} else {
lcd_print_strn(str, len);
}