RAD-Star 2: Fix invalid serial numbers being reported

pull/49/head
Paul Hollinsky 2021-07-06 19:31:44 -04:00
parent 0c67cdf078
commit 84c6b202c7
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
} }