Skip calibration data for invalid analogs

This commit is contained in:
Raphael Coeffic
2021-12-31 18:41:59 +01:00
parent ede80e2ebd
commit 8e69976dbb
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ bool YamlTreeWalker::toParent()
bool YamlTreeWalker::toChild()
{
const struct YamlNode* attr = getAttr();
if (!attr
if (!attr || isIdxInvalid()
|| (attr->type != YDT_ARRAY
&& attr->type != YDT_UNION
&& !isArrayElmt())) {