RAD-Star 2: Fix invalid serial numbers being reported

This commit is contained in:
Paul Hollinsky
2021-07-06 19:31:44 -04:00
parent 0c67cdf078
commit 84c6b202c7
@@ -38,7 +38,7 @@ public:
auto device = foundDev.device;
device.serial[sn->deviceSerial.copy(device.serial, sizeof(device.serial))] = '\0';
found.push_back(std::make_shared<RADStar2ETH>(foundDev.device));
found.push_back(std::make_shared<RADStar2ETH>(device));
break;
}
}