From f53633485f3bb57f97e5fb504e424be0a0b37978 Mon Sep 17 00:00:00 2001 From: sydadams Date: Mon, 1 Mar 2010 00:26:25 +0000 Subject: [PATCH] ADF fixes --- Aircraft/Instruments-3d/primus-1000/P1000.nas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Aircraft/Instruments-3d/primus-1000/P1000.nas b/Aircraft/Instruments-3d/primus-1000/P1000.nas index dcf0b5f43..7ea3f8920 100644 --- a/Aircraft/Instruments-3d/primus-1000/P1000.nas +++ b/Aircraft/Instruments-3d/primus-1000/P1000.nas @@ -98,7 +98,7 @@ var P1000 = { if(offset < -180){offset += 360;} elsif(offset > 180){offset -= 360;} }elsif(test == 2){ - offset = getprop("/instrumentation/kr-87/outputs/needle-deg"); + offset = getprop("/instrumentation/adf/indicated-bearing-deg"); }elsif(test == 3){ offset = getprop("/autopilot/internal/true-heading-error-deg"); } @@ -404,7 +404,6 @@ var update_p1000 = func { setlistener("/sim/signals/fdm-initialized", func { APoff.setBoolValue(1); - #props.globals.getNode("instrumentation/primus1000/mfd/mode",1).setValue("normal"); print("Primus 1000 systems ... check"); settimer(update_p1000,1); });