USB device library for Xadow M0
Dependents: xadow_m0_accelerometer xadow_m0_ada_gps xadow_m0_SD_Hello Xadow_SC16IS750_Test ... more
Fork of USBDevice by
Diff: USBSerial/USBCDC.cpp
- Revision:
- 11:eeb3cbbaa996
- Parent:
- 8:335f2506f422
- Child:
- 15:849c0c0f2769
diff -r 1e3d126a322b -r eeb3cbbaa996 USBSerial/USBCDC.cpp --- a/USBSerial/USBCDC.cpp Thu May 30 17:16:57 2013 +0100 +++ b/USBSerial/USBCDC.cpp Mon Aug 05 14:13:36 2013 +0300 @@ -116,8 +116,8 @@ 0, // bDeviceSubClass 0, // bDeviceProtocol MAX_PACKET_SIZE_EP0, // bMaxPacketSize0 - LSB(VENDOR_ID), MSB(VENDOR_ID), // idVendor - LSB(PRODUCT_ID), MSB(PRODUCT_ID),// idProduct + (uint8_t)(LSB(VENDOR_ID)), (uint8_t)(MSB(VENDOR_ID)), // idVendor + (uint8_t)(LSB(PRODUCT_ID)), (uint8_t)(MSB(PRODUCT_ID)),// idProduct 0x00, 0x01, // bcdDevice 1, // iManufacturer 2, // iProduct