projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added board hardware driver support for the Adafruit U4 breakout board.
[pub/USBasp.git]
/
Projects
/
Incomplete
/
StandaloneProgrammer
/
Descriptors.c
diff --git
a/Projects/Incomplete/StandaloneProgrammer/Descriptors.c
b/Projects/Incomplete/StandaloneProgrammer/Descriptors.c
index
5dbb0b0
..
ed73f3b
100644
(file)
--- a/
Projects/Incomplete/StandaloneProgrammer/Descriptors.c
+++ b/
Projects/Incomplete/StandaloneProgrammer/Descriptors.c
@@
-3,7
+3,7
@@
Copyright (C) Dean Camera, 2010.
dean [at] fourwalledcubicle [dot] com
Copyright (C) Dean Camera, 2010.
dean [at] fourwalledcubicle [dot] com
- www.fourwalledcubicle.com
+ www.lufa-lib.org
*/
/*
*/
/*
@@
-61,9
+61,9
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.Header = {.Size = sizeof(USB_Descriptor_Device_t), .Type = DTYPE_Device},
.USBSpecification = VERSION_BCD(01.10),
.Header = {.Size = sizeof(USB_Descriptor_Device_t), .Type = DTYPE_Device},
.USBSpecification = VERSION_BCD(01.10),
- .Class =
0xEF
,
- .SubClass =
0x02
,
- .Protocol =
0x01
,
+ .Class =
USB_CSCP_NoDeviceClass
,
+ .SubClass =
USB_CSCP_NoDeviceSubclass
,
+ .Protocol =
USB_CSCP_NoDeviceProtocol
,
.Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
.Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
@@
-109,9
+109,9
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.TotalEndpoints = 2,
.TotalEndpoints = 2,
- .Class =
0x08
,
- .SubClass =
0x06
,
- .Protocol =
0x50
,
+ .Class =
MS_CSCP_MassStorageClass
,
+ .SubClass =
MS_CSCP_SCSITransparentSubclass
,
+ .Protocol =
MS_CSCP_BulkOnlyTransportProtocol
,
.InterfaceStrIndex = NO_DESCRIPTOR
},
.InterfaceStrIndex = NO_DESCRIPTOR
},