mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +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
|
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
|
// I set a default: IFR standby is a reasonable default
|
||||||
transponder = CTransponder(7000, mode);
|
transponder = CTransponder(2000, CTransponder::StateStandby);
|
||||||
}
|
}
|
||||||
emit cbvar_cast(cbvar)->aircraftPositionUpdate(situation, transponder);
|
emit cbvar_cast(cbvar)->aircraftPositionUpdate(situation, transponder);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user