1
0
Fork 0

Merge pull request #289 from DO1OLI/master

Show FCS receive debug only when debug is active
master
Jonathan Naylor 2 years ago committed by GitHub
commit ec16283b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
.gitignore vendored

@ -18,3 +18,4 @@ YSFGateway/YSFGateway
YSFParrot/YSFParrot YSFParrot/YSFParrot
YSFReflector/YSFReflector YSFReflector/YSFReflector
GitVersion.h GitVersion.h
.vscode

@ -0,0 +1,3 @@
{
"makefile.extensionOutputFolder": "./.vscode"
}

@ -191,7 +191,8 @@ void CFCSNetwork::clock(unsigned int ms)
if (length <= 0) if (length <= 0)
return; return;
CUtils::dump(1U, "FCS Network Data Received", buffer, length); if (m_debug)
CUtils::dump(1U, "FCS Network Data Received", buffer, length);
if (m_state == DS_NOTLINKED) if (m_state == DS_NOTLINKED)
return; return;

Loading…
Cancel
Save