mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Handle poll message
This commit is contained in:
@@ -114,6 +114,10 @@ void CFMNetwork::clock(unsigned int ms)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ignore incoming polls
|
||||||
|
if (::memcmp(buffer, "FMP", 3U) == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
// Invalid packet type?
|
// Invalid packet type?
|
||||||
if (::memcmp(buffer, "FMD", 3U) != 0)
|
if (::memcmp(buffer, "FMD", 3U) != 0)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user