aboutsummaryrefslogtreecommitdiff
path: root/stm/usb.h
diff options
context:
space:
mode:
authorDamien George2014-01-13 00:20:06 +0000
committerDamien George2014-01-13 00:20:06 +0000
commit328708eb2504eae2ca8132c948bc3b1fc1c95243 (patch)
treeea721d8d4185cdc8650d6c128b3f7dba7fddd77d /stm/usb.h
parentfd17921b75817a07d688ccaa9130f65c1181f910 (diff)
stm: Re-instate C debugging USART port (disabled by default).
See pyb_usart_global_debug variable. Also did some work on USB OTG, but nothing working yet.
Diffstat (limited to 'stm/usb.h')
-rw-r--r--stm/usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stm/usb.h b/stm/usb.h
index c4b3b151f..db1f0a9d3 100644
--- a/stm/usb.h
+++ b/stm/usb.h
@@ -6,3 +6,6 @@ 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, ?
+
+void pyb_usbh_init(void);
+void pyb_usbh_process(void);