Ref T723 [xswiftbus] Expose configuration to enable/disable TCAS traffic

This commit is contained in:
Mat Sutcliffe
2019-12-27 21:40:15 +00:00
parent 8d204cded1
commit 0f6b7d910e
6 changed files with 31 additions and 0 deletions

View File

@@ -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;
}