aboutsummaryrefslogtreecommitdiff
path: root/app.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'app.mjs')
-rwxr-xr-xapp.mjs2
1 files changed, 1 insertions, 1 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;