adds a USB serial port to your design
Dependents: Example_WatchDog_Timer
Diff: USBSerial/USBCDC.h
- Revision:
- 75:9e53252fac92
- Parent:
- 70:2c525a50f1b6
--- a/USBSerial/USBCDC.h Fri Nov 23 18:05:40 2018 +0000 +++ b/USBSerial/USBCDC.h Sat Nov 24 14:06:47 2018 -0600 @@ -46,28 +46,28 @@ * * @returns pointer to the device descriptor */ - virtual uint8_t * deviceDesc(); + virtual const uint8_t * deviceDesc(); /* * Get string product descriptor * * @returns pointer to the string product descriptor */ - virtual uint8_t * stringIproductDesc(); + virtual const uint8_t * stringIproductDesc(); /* * Get string interface descriptor * * @returns pointer to the string interface descriptor */ - virtual uint8_t * stringIinterfaceDesc(); + virtual const uint8_t * stringIinterfaceDesc(); /* * Get configuration descriptor * * @returns pointer to the configuration descriptor */ - virtual uint8_t * configurationDesc(); + virtual const uint8_t * configurationDesc(); /* * Send a buffer