Make LEDs more intuitive
This commit is contained in:
parent
a8331ab798
commit
6ec97db073
|
@ -219,7 +219,7 @@ void processLockState()
|
|||
switch (lockState) {
|
||||
case LOCK_OFF:
|
||||
greenLEDOff();
|
||||
redLEDOn();
|
||||
redLEDOff();
|
||||
|
||||
relayOff();
|
||||
break;
|
||||
|
@ -232,8 +232,8 @@ void processLockState()
|
|||
}
|
||||
break;
|
||||
case LOCK_ARMED:
|
||||
greenLEDOff();
|
||||
redLEDOn();
|
||||
greenLEDOn();
|
||||
redLEDOff();
|
||||
|
||||
relayOff();
|
||||
|
||||
|
@ -255,8 +255,8 @@ void processLockState()
|
|||
}
|
||||
break;
|
||||
case LOCK_ON:
|
||||
greenLEDOn();
|
||||
redLEDOff();
|
||||
greenLEDOff();
|
||||
redLEDOn();
|
||||
|
||||
relayOn();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user