initialize only with proper protocol
This commit is contained in:
parent
97f69c50fd
commit
a5730cb982
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ public class DanaRSPlugin implements PluginBase, PumpInterface, DanaRInterface,
|
|||
|
||||
@Override
|
||||
public boolean isInitialized() {
|
||||
return pump.lastConnection.getTime() > 0;
|
||||
return pump.lastConnection.getTime() > 0 && pump.protocol > 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue