usb_cdc: Add a usb_fill_serial() helper function
Add a helper function to fill the usb serial string descriptor. Use it in the lpc176x code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -25,6 +25,7 @@ void usb_request_bootloader(void);
|
||||
struct usb_string_descriptor *usbserial_get_serialid(void);
|
||||
|
||||
// usb_cdc.c
|
||||
void usb_fill_serial(struct usb_string_descriptor *desc, int strlen, void *id);
|
||||
void usb_notify_bulk_in(void);
|
||||
void usb_notify_bulk_out(void);
|
||||
void usb_notify_ep0(void);
|
||||
|
||||
Reference in New Issue
Block a user