We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 290f0dd commit 4db88e4Copy full SHA for 4db88e4
src/Cru/CruBar.cxx
@@ -290,7 +290,11 @@ boost::optional<int32_t> CruBar::getSerialNumber()
290
<< char((serial & 0xff000000) >> 24);
291
292
try {
293
- return std::stoi(serialString.str());
+ if (serialString.str().find("-") != std::string::npos) { // hack for pre production CRUs
294
+ return 0;
295
+ } else {
296
+ return std::stoi(serialString.str());
297
+ }
298
} catch (...) {
299
return {};
300
}
src/FirmwareChecker.cxx
@@ -22,6 +22,7 @@ namespace roc
22
{
23
24
FirmwareChecker::FirmwareChecker() : mCompatibleFirmwareList({ /* CRU */
25
+ { "f8cecade", "v3.7.0" },
26
{ "75b96268", "v3.6.1" },
27
{ "6955404", "v3.6.0" },
28
{ "d458317e", "v3.5.2" },
0 commit comments