summaryrefslogtreecommitdiffstats
path: root/src/fig
diff options
context:
space:
mode:
Diffstat (limited to 'src/fig')
-rw-r--r--src/fig/FIG0.cpp5
-rw-r--r--src/fig/FIG1.cpp3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/fig/FIG0.cpp b/src/fig/FIG0.cpp
index 13b21f7..b424fe3 100644
--- a/src/fig/FIG0.cpp
+++ b/src/fig/FIG0.cpp
@@ -78,6 +78,7 @@ FillStatus FIG0_1::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
subchannelFIG0_1 = m_rti->ensemble->subchannels.end();
+ m_initialised = true;
}
if (max_size < 6) {
@@ -181,6 +182,7 @@ FillStatus FIG0_2::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
serviceFIG0_2 = m_rti->ensemble->services.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;
@@ -431,6 +433,7 @@ FillStatus FIG0_8::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
componentFIG0_8 = m_rti->ensemble->components.end();
+ m_initialised = true;
}
FIGtype0* fig0 = NULL;
@@ -713,6 +716,7 @@ FillStatus FIG0_13::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
componentFIG0_13 = m_rti->ensemble->components.end();
+ m_initialised = true;
}
FIGtype0* fig0 = NULL;
@@ -845,6 +849,7 @@ FillStatus FIG0_17::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
serviceFIG0_17 = m_rti->ensemble->services.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;
diff --git a/src/fig/FIG1.cpp b/src/fig/FIG1.cpp
index 2da9130..160c3b9 100644
--- a/src/fig/FIG1.cpp
+++ b/src/fig/FIG1.cpp
@@ -77,6 +77,7 @@ FillStatus FIG1_1::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
service = m_rti->ensemble->services.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;
@@ -133,6 +134,7 @@ FillStatus FIG1_4::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
component = m_rti->ensemble->components.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;
@@ -219,6 +221,7 @@ FillStatus FIG1_5::fill(uint8_t *buf, size_t max_size)
if (not m_initialised) {
service = m_rti->ensemble->services.end();
+ m_initialised = true;
}
auto ensemble = m_rti->ensemble;