use #defined value, not the literal
This commit is contained in:
parent
d4b692ab76
commit
c43d92d649
|
|
@ -1223,10 +1223,10 @@ template<class Transport, class Settings, class Platform>
|
||||||
MidiType MidiInterface<Transport, Settings, Platform>::getTypeFromStatusByte(byte inStatus)
|
MidiType MidiInterface<Transport, Settings, Platform>::getTypeFromStatusByte(byte inStatus)
|
||||||
{
|
{
|
||||||
if ((inStatus < 0x80) ||
|
if ((inStatus < 0x80) ||
|
||||||
(inStatus == 0xf4) ||
|
(inStatus == Undefined_F4) ||
|
||||||
(inStatus == 0xf5) ||
|
(inStatus == Undefined_F5) ||
|
||||||
(inStatus == 0xf9) ||
|
(inStatus == Undefined_F9) ||
|
||||||
(inStatus == 0xfD))
|
(inStatus == Undefined_FD))
|
||||||
return InvalidType; // Data bytes and undefined.
|
return InvalidType; // Data bytes and undefined.
|
||||||
|
|
||||||
if (inStatus < 0xf0)
|
if (inStatus < 0xf0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue