Handle poll message

This commit is contained in:
Geoffrey Merck 2020-05-16 17:45:24 +02:00
parent 23e92af6fa
commit 578ef5a3d4

View file

@ -114,6 +114,10 @@ void CFMNetwork::clock(unsigned int ms)
return;
}
// Ignore incoming polls
if (::memcmp(buffer, "FMP", 3U) == 0)
return;
// Invalid packet type?
if (::memcmp(buffer, "FMD", 3U) != 0)
return;