Merge pull request #289 from DO1OLI/master
Show FCS receive debug only when debug is active
This commit is contained in:
commit
ec16283b5c
3 changed files with 6 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -18,3 +18,4 @@ YSFGateway/YSFGateway
|
|||
YSFParrot/YSFParrot
|
||||
YSFReflector/YSFReflector
|
||||
GitVersion.h
|
||||
.vscode
|
||||
|
|
3
DGIdGateway/.vscode/settings.json
vendored
Normal file
3
DGIdGateway/.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"makefile.extensionOutputFolder": "./.vscode"
|
||||
}
|
|
@ -191,7 +191,8 @@ void CFCSNetwork::clock(unsigned int ms)
|
|||
if (length <= 0)
|
||||
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)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue