diff --git a/src/plugins/zeroExport/zeroExport.h b/src/plugins/zeroExport/zeroExport.h index c7dfacf0..052aa476 100644 --- a/src/plugins/zeroExport/zeroExport.h +++ b/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) */ \ No newline at end of file +#endif /* #if defined(PLUGIN_ZEROEXPORT) */