From 154b87f8d30d0dcd2542336209bf855955bda843 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Fri, 7 Oct 2016 00:51:53 +0200 Subject: [PATCH] Fix example. --- res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino b/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino index 17155cd..97c626e 100644 --- a/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino +++ b/res/Examples/MIDI_RPN_NRPN/MIDI_RPN_NRPN.ino @@ -65,7 +65,7 @@ public: } break; - case midi::DataEntry: + case midi::DataEntryMSB: if (mSelected) { Value& currentValue = getCurrentValue(); @@ -110,8 +110,8 @@ public: typedef State<2> RpnState; // We'll listen to 2 RPN typedef State<4> NrpnState; // and 4 NRPN -typedef ParameterNumberParser RpnParser; -typedef ParameterNumberParser NrpnParser; +typedef ParameterNumberParser RpnParser; +typedef ParameterNumberParser NrpnParser; struct ChannelSetup {