Browse Source

T4 Keyboard leds

Sorry pasted in wrong code.
main
Kurt Eckhardt 4 years ago
parent
commit
a5c3343d29
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy4/usb.c

+ 2
- 2
teensy4/usb.c View File

@@ -621,9 +621,9 @@ static void endpoint0_complete(void)
}
#endif
#ifdef KEYBOARD_INTERFACE
if (setup.word1 == 0x02000921 && setup.word2 == ((1<<16)|KEYBOARD_INTERFACE)) {
if (setup.word1 == 0x02000921 && setup.word2 == ((1 << 16) | KEYBOARD_INTERFACE)) {
keyboard_leds = endpoint0_buffer[0];
usb_start_sof_interrupts(NUM_INTERFACE);
endpoint0_transmit(NULL, 0, 0);
}
#endif
#ifdef SEREMU_INTERFACE

Loading…
Cancel
Save