More explicit version checking
This commit is contained in:
parent
b6ed8126b7
commit
6c1c5e0344
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void midiSendAfterTouch(uint8_t value) {
|
||||||
|
|
||||||
|
|
||||||
void midiSendPitchBend(uint16_t value) {
|
void midiSendPitchBend(uint16_t value) {
|
||||||
#if (TEENSYDUINO > 140)
|
#if (TEENSYDUINO >= 141)
|
||||||
usbMIDI.sendPitchBend(value-8192, midiChannel); // newer teensyduino "pitchBend-8192" older just "pitchBend"... strange thing to change
|
usbMIDI.sendPitchBend(value-8192, midiChannel); // newer teensyduino "pitchBend-8192" older just "pitchBend"... strange thing to change
|
||||||
#else
|
#else
|
||||||
usbMIDI.sendPitchBend(value, midiChannel);
|
usbMIDI.sendPitchBend(value, midiChannel);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue