mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Ref T723 [xswiftbus] Expose configuration to enable/disable TCAS traffic
This commit is contained in:
@@ -41,6 +41,11 @@ namespace BlackMisc
|
||||
m_debug = on;
|
||||
}
|
||||
|
||||
void CXSwiftBusConfigWriter::setTcasEnabled(bool on)
|
||||
{
|
||||
m_tcas = on;
|
||||
}
|
||||
|
||||
void CXSwiftBusConfigWriter::updateInAllXPlaneVersions()
|
||||
{
|
||||
updateInXPlane9();
|
||||
@@ -85,6 +90,9 @@ namespace BlackMisc
|
||||
ts << endl;
|
||||
ts << "# Render phase debugging - to help diagnose crashes" << endl;
|
||||
ts << "debug = " << boolToOnOff(m_debug) << endl;
|
||||
ts << endl;
|
||||
ts << "# TCAS traffic - to disable in case of crashes" << endl;
|
||||
ts << "tcas = " << boolToOnOff(m_debug) << endl;
|
||||
}
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user