Fix warning caused by conditional expression that is always true.
After all, a uint8_t is alwasy <= 0xFF.
This commit is contained in:
1 parent
44599b6e7a
commit
e92d18e152
1 file changed
+1
-1
@@ -314,7 +314,7 @@ bool BLEMidi::isStatusByte( uint8_t b )
|
||||
bool BLEMidi::oneByteMessage( uint8_t status )
|
||||
{
|
||||
// system messages
|
||||
if (status >= 0xF4 && status <= 0xFF) return true;
|
||||
if (status >= 0xF4) return true;
|
||||
|
||||
// system common
|
||||
if (status == 0xF1) return true;
|
||||
|
||||
Reference in new issue
Block a user