... | ... |
@@ -310,7 +310,7 @@ var softkeysClass = { |
310 | 310 |
var tuning = radios.getNode('xpdr-tuning-digit'); |
311 | 311 |
var d = tuning.getValue(); |
312 | 312 |
setprop('/instrumentation/transponder/inputs/digit[' ~ d ~ ']', n); |
313 |
- if (d == 1) { |
|
313 |
+ if (d == 0) { |
|
314 | 314 |
if (!contains(me.bindings.PFD.XPDR.CODE, 'on_change_auto_validation')) |
315 | 315 |
me.bindings.PFD.XPDR.CODE.on_change_auto_validation = maketimer(5, |
316 | 316 |
func call(me.bindings.PFD.IDENT, [], me)); |