Fix: Previously check for HwPartNumber 124097 was implemented wrong

Fix: #1846
This commit is contained in:
Thomas Basler 2024-03-21 20:00:34 +01:00
parent ed326763b7
commit 3125f16d99

View File

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