use scan ID as fallback for default circuit name

This commit is contained in:
john30
2017-01-01 15:35:48 +01:00
parent e47543c7a0
commit 6715a2eeff
+1 -1
View File
@@ -916,7 +916,7 @@ result_t loadScanConfigFile(MessageMap* messages, unsigned char address, SymbolS
continue;
if (name.length()<3 || name.find_first_of('.')!=2) { // different from the scheme "ZZ."
name = *it;
result = messages->readFromFile(name, opt.checkConfig);
result = messages->readFromFile(name, opt.checkConfig, "", ident);
if (result==RESULT_OK)
logNotice(lf_main, "read common config file %s", name.c_str());
else