aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2024-08-29 12:18:14 -0700
committerDeterminant <[email protected]>2024-08-29 12:18:14 -0700
commit12115ed3ee70191ddd93f77048ea4138be3092da (patch)
tree347b5646955e3810033064a30e7eb88c4359b35e
parentbdc574873a4fa6931c9f791c3e464421006cf92a (diff)
...
-rwxr-xr-xapp.mjs2
-rw-r--r--profile.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app.mjs b/app.mjs
index a2c5001..55663f2 100755
--- a/app.mjs
+++ b/app.mjs
@@ -350,7 +350,7 @@ const renderAttitudeIndicator = (c, display, values) => {
}
c.stroke();
- if (received != 0) {
+ if (received == 0) {
// draw CDI diamond
const cdi_y = y0 + 13 * cdi;
const cdi_h = 7;
diff --git a/profile.yaml b/profile.yaml
index 1b46a99..89ba690 100644
--- a/profile.yaml
+++ b/profile.yaml
@@ -111,7 +111,7 @@
- xplane_dataref: sim/cockpit/gyros/phi_ind_ahars_pilot_deg # roll
- xplane_dataref: sim/cockpit2/radios/actuators/HSI_source_select_pilot
- xplane_dataref: sim/cockpit2/radios/indicators/hsi_vdef_dots_pilot
- - xplane_dataref: sim/cockpit2/radios/indicators/hsi_display_vertical_pilot
+ - xplane_dataref: sim/cockpit2/radios/indicators/hsi_flag_glideslope_pilot
src:
2: