From 776d015cc492cb9c682bb1d223011b7a808011e8 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sun, 2 Mar 2008 20:45:33 +0000 Subject: 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 --- firmware/usbstack/usb_serial.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/usbstack/usb_serial.h') 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 -- cgit v1.2.3