use scan ID as fallback for default circuit name
This commit is contained in:
+1
-1
@@ -916,7 +916,7 @@ result_t loadScanConfigFile(MessageMap* messages, unsigned char address, SymbolS
|
|||||||
continue;
|
continue;
|
||||||
if (name.length()<3 || name.find_first_of('.')!=2) { // different from the scheme "ZZ."
|
if (name.length()<3 || name.find_first_of('.')!=2) { // different from the scheme "ZZ."
|
||||||
name = *it;
|
name = *it;
|
||||||
result = messages->readFromFile(name, opt.checkConfig);
|
result = messages->readFromFile(name, opt.checkConfig, "", ident);
|
||||||
if (result==RESULT_OK)
|
if (result==RESULT_OK)
|
||||||
logNotice(lf_main, "read common config file %s", name.c_str());
|
logNotice(lf_main, "read common config file %s", name.c_str());
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user