Browse Source

Update zeroExport.h - fix

fix needed: dont continue inverter id 0
pull/1551/head
DanielR92 6 months ago
committed by GitHub
parent
commit
4554eea03a
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 // Inverter not selected -> ignore
if (mCfg->groups[group].inverters[inv].id <= 0) { if (mCfg->groups[group].inverters[inv].id < 0) {
continue; continue;
} }
@ -1593,4 +1593,4 @@ class ZeroExport {
#endif /*__ZEROEXPORT__*/ #endif /*__ZEROEXPORT__*/
#endif /* #if defined(PLUGIN_ZEROEXPORT) */ #endif /* #if defined(PLUGIN_ZEROEXPORT) */

Loading…
Cancel
Save