|
|
|
|
|
|
|
|
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 |