mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T723 [xswiftbus] Expose configuration to enable/disable TCAS traffic
This commit is contained in:
@@ -255,6 +255,10 @@ namespace XSwiftBus
|
||||
{
|
||||
return s_instance->getConfig().getDebugMode() ? 1 : 0;
|
||||
}
|
||||
else if (strcmp(section, "debug") == 0 && strcmp(name, "tcas_traffic") == 0)
|
||||
{
|
||||
return s_instance->getConfig().getTcasEnabled() ? 1 : 0;
|
||||
}
|
||||
return def;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user