Browse Source

Fix ack to HID serial emulation startup feature report on Teensy 3

teensy4-core
PaulStoffregen 4 years ago
parent
commit
08693a6829
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/usb_dev.c

+ 1
- 1
teensy3/usb_dev.c View File

if (setup.word1 == 0x03000921 && setup.word2 == ((4<<16)|SEREMU_INTERFACE)) { if (setup.word1 == 0x03000921 && setup.word2 == ((4<<16)|SEREMU_INTERFACE)) {
if (buf[0] == 0xA9 && buf[1] == 0x45 && buf[2] == 0xC2 && buf[3] == 0x6B) { if (buf[0] == 0xA9 && buf[1] == 0x45 && buf[2] == 0xC2 && buf[3] == 0x6B) {
usb_reboot_timer = 5; usb_reboot_timer = 5;
endpoint0_transmit(NULL, 0);
} else { } else {
usb_seremu_online = 1; usb_seremu_online = 1;
} }
endpoint0_transmit(NULL, 0);
} }
#endif #endif
#ifdef AUDIO_INTERFACE #ifdef AUDIO_INTERFACE

Loading…
Cancel
Save