1
0
Fork 0

Correct ADR knobs

This commit is contained in:
legoboyvdlp R 2020-05-01 12:47:53 +01:00
parent eb6b196b2f
commit 8f60cd388e

View file

@ -77,10 +77,10 @@ var ADIRU = {
ADIRS.Lights.irOff[me.num].setValue(1);
}, 1.0);
settimer(func() {
ADIRS.Lights.adrOff[me.num].setValue(ADIRS.Switches.adrSw[me.num].getValue());
ADIRS.Lights.adrOff[me.num].setValue(!ADIRS.Switches.adrSw[me.num].getValue());
ADIRS.Lights.adrFault[me.num].setValue(0);
ADIRS.Lights.irFault[me.num].setValue(0);
ADIRS.Lights.irOff[me.num].setValue(ADIRS.Switches.irSw[me.num].getValue());
ADIRS.Lights.irOff[me.num].setValue(!ADIRS.Switches.irSw[me.num].getValue());
}, 1.1);
ADIRS.selfTest();