X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8bc3a91c1f100dee179efbafdcc616ce87633fbb..0d8679cf6bf02b3fd07028f63187286f5d4ffc20:/Demos/Host/ClassDriver/CDCHost/CDCHost.c?ds=inline 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