Added functionality to set blocking behavior of write

This commit is contained in:
EricLiu2000
2019-07-24 14:57:06 -04:00
parent 69b7e5b45a
commit 8c186f00cd
5 changed files with 28 additions and 0 deletions
+4
View File
@@ -270,6 +270,10 @@ bool Device::transmit(std::vector<std::shared_ptr<Message>> messages) {
return true;
}
void Device::setWriteBlocks(bool blocks) {
com->setWriteBlocks(blocks);
}
size_t Device::getNetworkCountByType(Network::Type type) const {
size_t count = 0;
for(const auto& net : getSupportedRXNetworks())