diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-03-02 20:45:33 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-03-02 20:45:33 +0000 |
commit | 776d015cc492cb9c682bb1d223011b7a808011e8 (patch) | |
tree | 61e3270b59b1442872779f0ea86ea237d6c92513 /firmware/usbstack/usb_serial.h | |
parent | b3ab7884110b6e3849add5573d1f2a96c7603cd4 (diff) |
implement logf over usb-serial. Needs USB_SERIAL defined in usb_core.h to work, and needs to be enabled in the debug menu.
It stops sending data after a while for unknown reasons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16486 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usbstack/usb_serial.h')
-rw-r--r-- | firmware/usbstack/usb_serial.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/usbstack/usb_serial.h b/firmware/usbstack/usb_serial.h index 60cede9bda..bcb0648af5 100644 --- a/firmware/usbstack/usb_serial.h +++ b/firmware/usbstack/usb_serial.h @@ -22,8 +22,11 @@ #include "usb_ch9.h" void usb_serial_init(void); +void usb_serial_exit(void); void usb_serial_transfer_complete(bool in, int status, int length); bool usb_serial_control_request(struct usb_ctrlrequest* req); +void usb_serial_send(unsigned char *data,int length); + #endif |