Remove RTTI dependency, increase default timeout for communication

This commit is contained in:
Jonathan Schwartz
2023-12-06 22:35:17 +00:00
parent e56c714a0c
commit 28ba94fa25
2 changed files with 2 additions and 2 deletions
@@ -29,7 +29,7 @@ public:
if(message->type == Message::Type::Frame || message->type == Message::Type::Main51 ||
message->type == Message::Type::RawMessage || message->type == Message::Type::ReadSettings) {
const auto frame = std::dynamic_pointer_cast<RawMessage>(message);
const auto frame = std::static_pointer_cast<RawMessage>(message);
if(!matchNetworkType(frame->network.getType()))
return false;
if(!matchNetID(frame->network.getNetID()))