59 uint8_t intr_state, timeout;
61 if (!usb_configuration)
65 UENUM = MIDI_TX_ENDPOINT;
66 timeout = UDFNUML + 2;
69 if (UEINTX & (1 << RWAL))
72 if (UDFNUML == timeout)
74 if (!usb_configuration)
78 UENUM = MIDI_TX_ENDPOINT;
80 UEDATX = data.
data[0];
81 UEDATX = data.
data[1];
82 UEDATX = data.
data[2];
83 UEDATX = data.
data[3];
84 if (!(UEINTX & (1 << RWAL)))