aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig
diff options
context:
space:
mode:
authorKuntzeM <github@kuntze.email>2020-03-17 16:37:42 +0100
committerKuntzeM <github@kuntze.email>2020-03-17 16:37:42 +0100
commitf97de5d4b6b6d77dfbe7e50432a8b3057e9361f8 (patch)
tree57db198462a1a651a11a50d52ad9e42cab187134 /src/fig
parentaba6f8678180a88c397f2f41b1b750be264882d4 (diff)
downloaddabmux-f97de5d4b6b6d77dfbe7e50432a8b3057e9361f8.tar.gz
dabmux-f97de5d4b6b6d77dfbe7e50432a8b3057e9361f8.tar.bz2
dabmux-f97de5d4b6b6d77dfbe7e50432a8b3057e9361f8.zip
change FIG 0/0 alarm flag if an alarm cluster available in mux
Diffstat (limited to 'src/fig')
-rw-r--r--src/fig/FIG0_0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fig/FIG0_0.cpp b/src/fig/FIG0_0.cpp
index 9a99984..a793b98 100644
--- a/src/fig/FIG0_0.cpp
+++ b/src/fig/FIG0_0.cpp
@@ -67,7 +67,7 @@ FillStatus FIG0_0::fill(uint8_t *buf, size_t max_size)
fig0_0->EId = htons(m_rti->ensemble->id);
fig0_0->Change = 0;
- fig0_0->Al = 0;
+ fig0_0->Al = m_rti->ensemble->alarm_flag;
fig0_0->CIFcnt_hight = (m_rti->currentFrame / 250) % 20;
fig0_0->CIFcnt_low = (m_rti->currentFrame % 250);