Skip to content

Commit

Permalink
Added a check for Tag value
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanVolvenkov committed Sep 3, 2024
1 parent e2fe254 commit 1c1336f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,11 @@ int main() {
break;
}
}
std::cout << "Nodes count " << supportedNodes.size() << std::endl;
if (targetNode == Antilatency::DeviceNetwork::NodeHandle::Null) {
std::cerr << "Invalid Tag or device! Expected 'ExBoard'. Please connect the proper device or change the Tag." << std::endl;
}
std::this_thread::sleep_for(std::chrono::milliseconds(100));

}

auto cotask = cotaskConstructor.startTask(network, targetNode);
Expand Down

0 comments on commit 1c1336f

Please sign in to comment.