Fix for device with older firmware

It's possible the device is on older firmware so don't return false here
pull/73/head
Pierre-Luc 2025-03-14 15:40:53 -04:00 committed by GitHub
parent 89047447a6
commit 9fcff081f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -362,7 +362,8 @@ APIEvent::Type Device::attemptToBeginCommunication() {
if(auto compVersions = com->getComponentVersionsSync())
componentVersions = std::move(*compVersions);
else
return getCommunicationNotEstablishedError();
// It's possible the device is on older firmware so don't return false here
report(APIEvent::Type::NoDeviceResponse, APIEvent::Severity::EventWarning);
}
return APIEvent::Type::NoErrorFound;