Make IMRS receive only with data dunmping for now.

This commit is contained in:
Jonathan Naylor 2020-08-21 10:28:16 +01:00
parent a3a93807a5
commit 1b8b2918c0
2 changed files with 7 additions and 2 deletions

View file

@ -65,6 +65,8 @@ void CIMRSNetwork::write(unsigned int dgId, const unsigned char* data)
{
assert(data != NULL);
return; // XXX Disable IMRS transmit
IMRSDGId* ptr = find(dgId);
if (ptr == NULL)
return;
@ -149,6 +151,10 @@ void CIMRSNetwork::clock(unsigned int ms)
if (length <= 0)
return;
LogDebug("IMRS Network Data Reecived from port %u", port);
CUtils::dump(1U, "IMRS Network Data Received", buffer, length);
return;
if (port != IMRS_PORT)
return;