Show FCS receive debug only when debug is active
This commit is contained in:
parent
1015f3d55f
commit
cdfc8c9fad
2 changed files with 5 additions and 1 deletions
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