mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T140, too many warnings when wrong XPDR code is received.
Demoted to debug message. Slack: https://swift-project.slack.com/archives/C04J6J76N/p1504365879000106
This commit is contained in:
committed by
Mathew Sutcliffe
parent
782639e7c9
commit
5d4c022dc0
@@ -872,10 +872,10 @@ namespace BlackCore
|
||||
}
|
||||
else
|
||||
{
|
||||
CLogMessage(static_cast<CNetworkVatlib *>(nullptr)).warning("Wrong transponder code %1 for %2") << position->transponderCode << callsign;
|
||||
CLogMessage(static_cast<CNetworkVatlib *>(nullptr)).debug("Wrong transponder code '%1' for '%2'") << position->transponderCode << callsign;
|
||||
|
||||
// default
|
||||
transponder = CTransponder(7000, mode);
|
||||
// I set a default: IFR standby is a reasonable default
|
||||
transponder = CTransponder(2000, CTransponder::StateStandby);
|
||||
}
|
||||
emit cbvar_cast(cbvar)->aircraftPositionUpdate(situation, transponder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user