From 4554eea03a12f0ea0c78c4a680b58eead0fb8f46 Mon Sep 17 00:00:00 2001 From: DanielR92 Date: Sat, 30 Mar 2024 22:24:42 +0100 Subject: [PATCH] Update zeroExport.h - fix fix needed: dont continue inverter id 0 --- src/plugins/zeroExport/zeroExport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) */