fix testcase creation if analog has no pointers

This commit is contained in:
Frank Haverland
2022-10-27 21:02:22 +02:00
parent f935c38571
commit 45d37ea957
3 changed files with 14 additions and 13 deletions

View File

@@ -82,6 +82,8 @@ UnderTestPost* init_do_flow(std::vector<float> analog, std::vector<float> digits
anaROI->result_float = analog[i];
gen_analog->ROI.push_back(anaROI);
}
} else {
_undertestPost->flowAnalog = NULL;
}
ESP_LOGD(TAG, "Setting up of ROIs completed.");