Use TEENSYDUINO to determine version rather than making our own
This commit is contained in:
parent
50b1fe9eb3
commit
d04c0f92f8
2 changed files with 1 additions and 5 deletions
|
@ -44,7 +44,7 @@ void midiSendAfterTouch(uint8_t value) {
|
|||
|
||||
|
||||
void midiSendPitchBend(uint16_t value) {
|
||||
#if defined(NEWTEENSYDUINO)
|
||||
#if (TEENSYDUINO > 140)
|
||||
usbMIDI.sendPitchBend(value-8192, midiChannel); // newer teensyduino "pitchBend-8192" older just "pitchBend"... strange thing to change
|
||||
#else
|
||||
usbMIDI.sendPitchBend(value, midiChannel);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue