From 1ba3eded096fd28ed15d49a28514b74dbd9df3a9 Mon Sep 17 00:00:00 2001 From: Kyle Schwarz Date: Fri, 14 Mar 2025 15:38:34 -0400 Subject: [PATCH] Device: Gracefully handle old firmware without ComponentVersions --- device/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/device.cpp b/device/device.cpp index 10c5404..063db18 100644 --- a/device/device.cpp +++ b/device/device.cpp @@ -362,7 +362,7 @@ APIEvent::Type Device::attemptToBeginCommunication() { if(auto compVersions = com->getComponentVersionsSync()) componentVersions = std::move(*compVersions); else - return getCommunicationNotEstablishedError(); + report(APIEvent::Type::NotSupported, APIEvent::Severity::EventWarning); // outdated firmware } return APIEvent::Type::NoErrorFound;