mirror of
https://github.com/gdsports/USBHost_t36
synced 2024-11-24 01:52:23 -05:00
MIDIDevice::send cable input is optional (defaults to cable 0)
This commit is contained in:
parent
02ba9d9028
commit
c07d78de13
@ -969,7 +969,7 @@ public:
|
||||
sendControlChange(99, 0x7F, channel, cable);
|
||||
sendControlChange(98, 0x7F, channel, cable);
|
||||
}
|
||||
void send(uint8_t type, uint8_t data1, uint8_t data2, uint8_t channel, uint8_t cable) {
|
||||
void send(uint8_t type, uint8_t data1, uint8_t data2, uint8_t channel, uint8_t cable=0) {
|
||||
//if (cable >= MIDI_NUM_CABLES) return;
|
||||
if (type < 0xF0) {
|
||||
if (type < 0x80) return;
|
||||
|
Loading…
Reference in New Issue
Block a user