diff --git a/src/serialmididevice.cpp b/src/serialmididevice.cpp
index 186efc3..a027cf4 100644
--- a/src/serialmididevice.cpp
+++ b/src/serialmididevice.cpp
@@ -109,6 +109,10 @@ void CSerialMIDIDevice::Process (void)
 			}
 			continue;
 		}
+		else if(uchData == 0xF8 || uchData == 0xFE)
+		{
+			continue;
+		}
 		else
 		{
 			switch (m_nSerialState)