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

} }
#endif #endif
#ifdef KEYBOARD_INTERFACE #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]; keyboard_leds = endpoint0_buffer[0];
usb_start_sof_interrupts(NUM_INTERFACE);
endpoint0_transmit(NULL, 0, 0);
} }
#endif #endif
#ifdef SEREMU_INTERFACE #ifdef SEREMU_INTERFACE

Loading…
Cancel
Save