aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/CDC
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-04-24 07:28:51 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-04-24 07:28:51 +0000
commita504a3a010ec2441dda0209f195492fb36e7c97b (patch)
tree878acffb3679796597b9e0bd94a322f2cb074819 /Demos/Device/CDC
parentc20a94a4e84c89debf5e7109482ede708a694a0c (diff)
downloadlufa-a504a3a010ec2441dda0209f195492fb36e7c97b.tar.gz
lufa-a504a3a010ec2441dda0209f195492fb36e7c97b.tar.bz2
lufa-a504a3a010ec2441dda0209f195492fb36e7c97b.zip
Endpoint configuration is now refined to give better output when all configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token.
Diffstat (limited to 'Demos/Device/CDC')
-rw-r--r--Demos/Device/CDC/Descriptors.c2
-rw-r--r--Demos/Device/CDC/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/CDC/Descriptors.c b/Demos/Device/CDC/Descriptors.c
index 6b65a760e..3618b8de7 100644
--- a/Demos/Device/CDC/Descriptors.c
+++ b/Demos/Device/CDC/Descriptors.c
@@ -51,7 +51,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
.Protocol = 0x00,
- .Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
+ .Endpoint0Size = 8,//FIXED_CONTROL_ENDPOINT_SIZE,
.VendorID = 0x03EB,
.ProductID = 0x2044,
diff --git a/Demos/Device/CDC/makefile b/Demos/Device/CDC/makefile
index fe839d6e2..3a0ebb1c1 100644
--- a/Demos/Device/CDC/makefile
+++ b/Demos/Device/CDC/makefile
@@ -185,7 +185,7 @@ CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD)
CDEFS += -DUSE_NONSTANDARD_DESCRIPTOR_NAMES -DNO_STREAM_CALLBACKS -DUSB_DEVICE_ONLY
-CDEFS += -DSTATIC_ENDPOINT_CONFIGURATION -DFIXED_CONTROL_ENDPOINT_SIZE=8
+CDEFS += -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DUSE_SINGLE_DEVICE_CONFIGURATION
CDEFS += -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"