From dc478a36567a25fe61571116dc9a7eda8ddf9a00 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Fri, 7 Oct 2016 00:58:23 +0200 Subject: [PATCH] Re-fix example. --- res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino b/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino index 97c626e..69e0569 100644 --- a/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino +++ b/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino @@ -198,7 +198,7 @@ void loop() const midi::Channel channel = 1; const byte semitones = 12; const byte cents = 42; - MIDI.startRpn(midi::PitchBendSensitivity, channel); + MIDI.beginRpn(midi::RPN::PitchBendSensitivity, channel); MIDI.sendRpnValue(semitones, cents, channel); MIDI.endRpn(channel); }