X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/f8353236821c2194f3fffd38c26f77d056e66555..31022dfbe9ba7f10e9be5be85e16d2ee203d40df:/Projects/LEDNotifier/LEDNotifier.c diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c index d6a8fdca3..da273b1eb 100644 --- a/Projects/LEDNotifier/LEDNotifier.c +++ b/Projects/LEDNotifier/LEDNotifier.c @@ -44,7 +44,7 @@ USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface = { .Config = { - .ControlInterfaceNumber = 0, + .ControlInterfaceNumber = INTERFACE_ID_CDC_CCI, .DataINEndpoint = { .Address = CDC_TX_EPADDR, @@ -66,20 +66,20 @@ USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface = }, }; -/** Counter for the software PWM */ +/** Counter for the software PWM. */ static volatile uint8_t SoftPWM_Count; -/** Duty cycle for the first software PWM channel */ +/** Duty cycle for the first software PWM channel. */ static volatile uint8_t SoftPWM_Channel1_Duty; -/** Duty cycle for the second software PWM channel */ +/** Duty cycle for the second software PWM channel. */ static volatile uint8_t SoftPWM_Channel2_Duty; -/** Duty cycle for the third software PWM channel */ +/** Duty cycle for the third software PWM channel. */ static volatile uint8_t SoftPWM_Channel3_Duty; /** Standard file stream for the CDC interface when set up, so that the virtual CDC COM port can be - * used like any regular character stream in the C APIs + * used like any regular character stream in the C APIs. */ static FILE USBSerialStream;