aboutsummaryrefslogtreecommitdiffstats
path: root/Demos
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-19 03:21:03 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-19 03:21:03 +0000
commit0d8679cf6bf02b3fd07028f63187286f5d4ffc20 (patch)
tree58a78dc0caeb6e2b4d84f315c4c024d910b394df /Demos
parent8bc3a91c1f100dee179efbafdcc616ce87633fbb (diff)
downloadlufa-0d8679cf6bf02b3fd07028f63187286f5d4ffc20.tar.gz
lufa-0d8679cf6bf02b3fd07028f63187286f5d4ffc20.tar.bz2
lufa-0d8679cf6bf02b3fd07028f63187286f5d4ffc20.zip
Re-add in simple scheduler for compatibility with legacy code, mark all scheduler related files as deprecated.
Diffstat (limited to 'Demos')
-rw-r--r--Demos/Host/ClassDriver/CDCHost/CDCHost.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/Demos/Host/ClassDriver/CDCHost/CDCHost.c b/Demos/Host/ClassDriver/CDCHost/CDCHost.c
index 941cf7cc4..96b4b43ff 100644
--- a/Demos/Host/ClassDriver/CDCHost/CDCHost.c
+++ b/Demos/Host/ClassDriver/CDCHost/CDCHost.c
@@ -42,9 +42,17 @@
*/
USB_ClassInfo_CDC_Host_t VirtualSerial_CDC_Interface =
{
- .DataINPipeNumber = 1,
- .DataOUTPipeNumber = 2,
- .NotificationPipeNumber = 3,
+ .Config =
+ {
+ .DataINPipeNumber = 1,
+ .DataOUTPipeNumber = 2,
+ .NotificationPipeNumber = 3,
+ },
+
+ .State =
+ {
+ // Leave all state values to their defaults
+ }
};
/** Main program entry point. This routine configures the hardware required by the application, then