aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: