Fix example.

This commit is contained in:
Francois Best 2016-10-07 00:51:53 +02:00
parent 489b49b862
commit 154b87f8d3
1 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ public:
} }
break; break;
case midi::DataEntry: case midi::DataEntryMSB:
if (mSelected) if (mSelected)
{ {
Value& currentValue = getCurrentValue(); Value& currentValue = getCurrentValue();
@ -110,8 +110,8 @@ public:
typedef State<2> RpnState; // We'll listen to 2 RPN typedef State<2> RpnState; // We'll listen to 2 RPN
typedef State<4> NrpnState; // and 4 NRPN typedef State<4> NrpnState; // and 4 NRPN
typedef ParameterNumberParser<RpnState, midi::RPNMSB, midi::RPN> RpnParser; typedef ParameterNumberParser<RpnState, midi::RPNMSB, midi::RPNLSB> RpnParser;
typedef ParameterNumberParser<NrpnState, midi::NRPNMSB, midi::NRPN> NrpnParser; typedef ParameterNumberParser<NrpnState, midi::NRPNMSB, midi::NRPNLSB> NrpnParser;
struct ChannelSetup struct ChannelSetup
{ {