Skip to content

Commit

Permalink
Merge remote-tracking branch 'tbnobody/master' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Mar 23, 2024
2 parents 12f7caf + 3b05f44 commit 06f39f8
Show file tree
Hide file tree
Showing 7 changed files with 562 additions and 529 deletions.
2 changes: 1 addition & 1 deletion lib/Hoymiles/src/parser/DevInfoParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 06f39f8

Please sign in to comment.