mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-04 03:43:37 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user