summaryrefslogtreecommitdiff
path: root/include/usb_console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usb_console.h')
-rw-r--r--include/usb_console.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb_console.h b/include/usb_console.h
index 296829ff9c..cac8fde093 100644
--- a/include/usb_console.h
+++ b/include/usb_console.h
@@ -62,6 +62,12 @@ uint32_t usb_console_crc(void);
*/
void usb_console_enable(int enabled, int readonly);
+/* Return the size of the free room in the USB TX circular buffer. */
+size_t usb_buffer_room(void);
+
+/* Send characters to the USB channel. */
+int usb_put(const char *str, int count);
+
#define usb_va_start va_start
#define usb_va_end va_end
#else