Fixed hardware race condition that could cause failed device enumerations for AVR8 and UC3 architectures (thanks to Mike Beyhs).
Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen). Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
This commit is contained in:
parent
7d037c7db8
commit
2608fd1dd4
9 changed files with 40 additions and 28 deletions
|
@ -177,13 +177,13 @@ void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDI
|
|||
NewLEDMask |= LEDS_LED1;
|
||||
|
||||
if (Data[1])
|
||||
NewLEDMask |= LEDS_LED1;
|
||||
NewLEDMask |= LEDS_LED2;
|
||||
|
||||
if (Data[2])
|
||||
NewLEDMask |= LEDS_LED1;
|
||||
NewLEDMask |= LEDS_LED3;
|
||||
|
||||
if (Data[3])
|
||||
NewLEDMask |= LEDS_LED1;
|
||||
NewLEDMask |= LEDS_LED4;
|
||||
|
||||
LEDs_SetAllLEDs(NewLEDMask);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue