RAD-Star 2: Fix invalid serial numbers being reported

This commit is contained in:
Paul Hollinsky
2021-07-06 19:38:41 -04:00
parent 16b88b7787
commit 6241996a58
@@ -38,7 +38,7 @@ public:
auto device = foundDev.device; auto device = foundDev.device;
device.serial[sn->deviceSerial.copy(device.serial, sizeof(device.serial))] = '\0'; 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; break;
} }
} }