aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/usb.h
diff options
context:
space:
mode:
authorDamien George2017-10-19 14:15:32 +1100
committerDamien George2017-10-19 14:15:32 +1100
commit0eb333e3cf2319cfb1bf558b8f1c6e3e513fb9d8 (patch)
tree7bb2507e474a17f7149bc79b8626fab3657e827a /ports/stm32/usb.h
parent9725a654bdfc4ec0b7d6bc6aa3f4365f0825c5f3 (diff)
stm32/mphalport: Improve efficiency of mp_hal_stdout_tx_strn_cooked.
Also simplifies the code by removing the specialised (and inefficient) cooked functions from UART and USB_VCP.
Diffstat (limited to 'ports/stm32/usb.h')
-rw-r--r--ports/stm32/usb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/stm32/usb.h b/ports/stm32/usb.h
index f60ea8033..41c461fb2 100644
--- a/ports/stm32/usb.h
+++ b/ports/stm32/usb.h
@@ -63,7 +63,6 @@ void pyb_usb_dev_deinit(void);
bool usb_vcp_is_enabled(void);
int usb_vcp_recv_byte(uint8_t *c); // if a byte is available, return 1 and put the byte in *c, else return 0
void usb_vcp_send_strn(const char* str, int len);
-void usb_vcp_send_strn_cooked(const char *str, int len);
void pyb_usb_host_init(void);
void pyb_usb_host_process(void);