From 12115ed3ee70191ddd93f77048ea4138be3092da Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 29 Aug 2024 12:18:14 -0700 Subject: ... --- app.mjs | 2 +- profile.yaml | 2 +- 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: -- cgit v1.2.3-70-g09d2