mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-04 03:43:37 +01:00
Fix: Previously check for HwPartNumber 124097 was implemented wrong
Fix: #1846
This commit is contained in:
@@ -204,7 +204,7 @@ bool DevInfoParser::containsValidData() const
|
||||
struct tm 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
|
||||
|
||||
Reference in New Issue
Block a user