Merge pull request #5 from DanielR92/patch-1

Update zeroExport.h - fix
This commit is contained in:
tictrick 2024-03-30 22:32:24 +01:00 committed by GitHub
commit 8c9bec0958
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -548,7 +548,7 @@ class ZeroExport {
}
// Inverter not selected -> ignore
if (mCfg->groups[group].inverters[inv].id <= 0) {
if (mCfg->groups[group].inverters[inv].id < 0) {
continue;
}
@ -1593,4 +1593,4 @@ class ZeroExport {
#endif /*__ZEROEXPORT__*/
#endif /* #if defined(PLUGIN_ZEROEXPORT) */
#endif /* #if defined(PLUGIN_ZEROEXPORT) */