mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-08 16:03:54 +00:00
Handle poll message
This commit is contained in:
parent
23e92af6fa
commit
578ef5a3d4
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue