From 0d8679cf6bf02b3fd07028f63187286f5d4ffc20 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 19 Jun 2009 03:21:03 +0000 Subject: Re-add in simple scheduler for compatibility with legacy code, mark all scheduler related files as deprecated. --- Demos/Host/ClassDriver/CDCHost/CDCHost.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Demos/Host/ClassDriver/CDCHost') 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 -- cgit v1.2.3