Skip to content

Commit e92d18e

Browse files
committed
Fix warning caused by conditional expression that is always true.
After all, a uint8_t is alwasy <= 0xFF.
1 parent 44599b6 commit e92d18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Bluefruit52Lib/src/services/BLEMidi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ bool BLEMidi::isStatusByte( uint8_t b )
314314
bool BLEMidi::oneByteMessage( uint8_t status )
315315
{
316316
// system messages
317-
if (status >= 0xF4 && status <= 0xFF) return true;
317+
if (status >= 0xF4) return true;
318318

319319
// system common
320320
if (status == 0xF1) return true;

0 commit comments

Comments
 (0)