diff --git a/NuEVI/hardware.h b/NuEVI/hardware.h index 59027ce..cbe9a75 100644 --- a/NuEVI/hardware.h +++ b/NuEVI/hardware.h @@ -3,10 +3,6 @@ #define REVB -//Comment out the following line if you have Teensyduino 1.4.0 or earlier, to make pitch bend over USB-MIDI work. -#define NEWTEENSYDUINO - - // Pin definitions // Teensy pins diff --git a/NuEVI/midi.cpp b/NuEVI/midi.cpp index 75a36ca..fc05554 100644 --- a/NuEVI/midi.cpp +++ b/NuEVI/midi.cpp @@ -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);