projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new CALLBACK_Audio_Device_GetSetInterfaceProperty() callback to the Audio Devic...
[pub/USBasp.git]
/
Demos
/
Device
/
Incomplete
/
Sideshow
/
Descriptors.c
diff --git
a/Demos/Device/Incomplete/Sideshow/Descriptors.c
b/Demos/Device/Incomplete/Sideshow/Descriptors.c
index
b19888d
..
8621593
100644
(file)
--- a/
Demos/Device/Incomplete/Sideshow/Descriptors.c
+++ b/
Demos/Device/Incomplete/Sideshow/Descriptors.c
@@
-64,7
+64,7
@@
const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
ConfigurationNumber: 1,
ConfigurationStrIndex: NO_DESCRIPTOR,
ConfigurationNumber: 1,
ConfigurationStrIndex: NO_DESCRIPTOR,
- ConfigAttributes: (USB_CONFIG_ATTR_
BUSPOWER
ED | USB_CONFIG_ATTR_SELFPOWERED),
+ ConfigAttributes: (USB_CONFIG_ATTR_
RESERV
ED | USB_CONFIG_ATTR_SELFPOWERED),
MaxPowerConsumption: USB_CONFIG_POWER_MA(100)
},
MaxPowerConsumption: USB_CONFIG_POWER_MA(100)
},
@@
-89,7
+89,7
@@
const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
{
Header: {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},
{
Header: {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},
- EndpointAddress: (ENDPOINT_D
ESCRIPTOR_D
IR_IN | SIDESHOW_IN_EPNUM),
+ EndpointAddress: (ENDPOINT_DIR_IN | SIDESHOW_IN_EPNUM),
Attributes: EP_TYPE_BULK,
EndpointSize: SIDESHOW_IO_EPSIZE,
PollingIntervalMS: 0x00
Attributes: EP_TYPE_BULK,
EndpointSize: SIDESHOW_IO_EPSIZE,
PollingIntervalMS: 0x00
@@
-99,7
+99,7
@@
const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
{
Header: {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},
{
Header: {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},
- EndpointAddress: (ENDPOINT_D
ESCRIPTOR_D
IR_OUT | SIDESHOW_OUT_EPNUM),
+ EndpointAddress: (ENDPOINT_DIR_OUT | SIDESHOW_OUT_EPNUM),
Attributes: EP_TYPE_BULK,
EndpointSize: SIDESHOW_IO_EPSIZE,
PollingIntervalMS: 0x00
Attributes: EP_TYPE_BULK,
EndpointSize: SIDESHOW_IO_EPSIZE,
PollingIntervalMS: 0x00