Browse Source

Merge pull request #5 from DanielR92/patch-1

Update zeroExport.h - fix
pull/1551/head
tictrick 6 months ago
committed by GitHub
parent
commit
8c9bec0958
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      src/plugins/zeroExport/zeroExport.h

4
src/plugins/zeroExport/zeroExport.h

@ -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) */

Loading…
Cancel
Save