This commit is contained in:
@@ -36,9 +36,9 @@ public class PuckState {
|
||||
|
||||
void set(int mecSwitch, int indSwitch) {
|
||||
online = true;
|
||||
//TODO: Hanfle -1 value: error
|
||||
//TODO: Handle -1 value: error
|
||||
this.mecSwitch = mecSwitch ==1;
|
||||
this.indSwitch = mecSwitch ==1;
|
||||
this.indSwitch = indSwitch ==1;
|
||||
BasePlate basePlate = getBasePlate();
|
||||
if (basePlate != null) {
|
||||
if (this.mecSwitch != this.indSwitch) {
|
||||
|
||||
Reference in New Issue
Block a user