diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-07-20 13:57:43 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-07-20 13:57:43 +0100 |
| commit | 951ed9d02ffc826c68ee3af26c3530477e7e6156 (patch) | |
| tree | eb70f46b030031c8601d71d575e36771cf6c5564 /stmhal/usb.h | |
| parent | 1163cb9cb5e48153d1a6d723e8577d8ec3821692 (diff) | |
stmhal: Fix REPL printing by cooking output sent to stdout_obj.
Recent changes to builtin print meant that print was printing to the
mp_sys_stdout_obj, which was sending data raw to the USB CDC device.
The data should be cooked so that \n turns into \r\n.
Diffstat (limited to 'stmhal/usb.h')
| -rw-r--r-- | stmhal/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stmhal/usb.h b/stmhal/usb.h index 3bd30ba92..4eb29c9de 100644 --- a/stmhal/usb.h +++ b/stmhal/usb.h @@ -48,7 +48,6 @@ bool usb_vcp_is_connected(void); void usb_vcp_set_interrupt_char(int c); int usb_vcp_rx_num(void); char usb_vcp_rx_get(void); -void usb_vcp_send_str(const char* str); void usb_vcp_send_strn(const char* str, int len); void usb_vcp_send_strn_cooked(const char *str, int len); void usb_hid_send_report(uint8_t *buf); // 4 bytes for mouse: ?, x, y, ? |
