From d5087c1ba528581c5b88425c3700ca490223fa5e Mon Sep 17 00:00:00 2001 From: Paul Hollinsky Date: Mon, 6 Dec 2021 05:41:27 -0500 Subject: [PATCH] Communication: Remove extra accidentally added logging --- communication/communication.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/communication/communication.cpp b/communication/communication.cpp index 7d839b4..f5f53e2 100644 --- a/communication/communication.cpp +++ b/communication/communication.cpp @@ -140,21 +140,12 @@ std::shared_ptr Communication::getSerialNumberSync(std::chr return sendCommand(Command::RequestSerialNumber); }, filter, timeout); if(!msg) // Did not receive a message - { - std::cout << "didn't get a message" << std::endl; return std::shared_ptr(); - } auto m51 = std::dynamic_pointer_cast(msg); if(!m51) // Could not upcast for some reason - { - std::cout << "could not upcast" << std::endl; return std::shared_ptr(); - } - - auto ret = std::dynamic_pointer_cast(m51); - std::cout << "returning " << ret.get() << std::endl; - return ret; + return std::dynamic_pointer_cast(m51); } optional< std::vector< optional > > Communication::getVersionsSync(std::chrono::milliseconds timeout) {