Skip to content
Snippets Groups Projects
Commit 13185897 authored by jsiegle's avatar jsiegle
Browse files

Removed check for multiple Intan Boards in ProcessorGraph

parent 0730a038
Branches
Tags
No related merge requests found
......@@ -385,15 +385,15 @@ GenericProcessor* ProcessorGraph::createProcessorFromDescription(String& descrip
subProcessorType.equalsIgnoreCase("Custom FPGA") ||
subProcessorType.equalsIgnoreCase("RHD2000 USB Board")) {
if (subProcessorType.equalsIgnoreCase("Intan Demo Board") &&
!processorWithSameNameExists(subProcessorType)) {
std::cout << "Only one Intan Demo Board is allowed at a time."
<< std::endl;
} else {
// if (subProcessorType.equalsIgnoreCase("Intan Demo Board") &&
// !processorWithSameNameExists(subProcessorType)) {
// std::cout << "Only one Intan Demo Board is allowed at a time."
// << std::endl;
// } else {
std::cout << "Creating a new data source." << std::endl;
processor = new SourceNode(subProcessorType);
}
//}
} else if (subProcessorType.equalsIgnoreCase("Signal Generator"))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment