mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-13 16:11:38 +02:00
Update zeroExport.h - fix
fix needed: dont continue inverter id 0
This commit is contained in:
parent
3736bff9ab
commit
4554eea03a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue