aboutsummaryrefslogtreecommitdiff
path: root/app.mjs
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 /app.mjs
parentbdc574873a4fa6931c9f791c3e464421006cf92a (diff)
...
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;