Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: frdm_Slider_Keyboard idd_hw2_figlax_PanType idd_hw2_appachu_finger_chording idd_hw3_AngieWangAntonioDeLimaFernandesDanielLim_BladeSymphony ... more
Fork of USBDevice by
Diff: USBSerial/USBCDC.h
- Revision:
- 49:03527ce6840e
- Parent:
- 25:7c72828865f3
--- a/USBSerial/USBCDC.h Mon Feb 15 23:18:55 2016 +0000
+++ b/USBSerial/USBCDC.h Fri Feb 26 18:41:47 2016 +0000
@@ -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
