mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-06 06:43:53 +00:00
Ignore any incoming YSF info messages.
This commit is contained in:
parent
a2603c8d40
commit
f9cde1565a
3 changed files with 13 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2009-2014,2016,2017,2018 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2009-2014,2016,2017,2018,2020 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -204,6 +204,10 @@ void CYSFNetwork::clock(unsigned int ms)
|
|||
if (::memcmp(buffer, "YSFO", 4U) == 0)
|
||||
return;
|
||||
|
||||
// Throw away any info messages
|
||||
if (::memcmp(buffer, "YSFI", 4U) == 0)
|
||||
return;
|
||||
|
||||
if (::memcmp(buffer, "YSFP", 4U) == 0 && !m_linked) {
|
||||
if (strcmp(m_name.c_str(),"MMDVM")== 0)
|
||||
LogMessage("Link successful to %s", m_name.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue