Fix: Exclude hardware part number 124097 from valid part numbers.

This triggers a  re-fetch of the hardware information. Especially 124097 seems to be a wrong read-out.
This commit is contained in:
Thomas Basler 2024-03-03 16:35:34 +01:00
parent 3c2b35016a
commit b8c1168687

View File

@ -200,7 +200,7 @@ bool DevInfoParser::containsValidData() const
struct tm info;
localtime_r(&t, &info);
return info.tm_year > (2016 - 1900);
return info.tm_year > (2016 - 1900) || getHwPartNumber() == 124097;
}
uint8_t DevInfoParser::getDevIdx() const