summaryrefslogtreecommitdiffstats
path: root/src/dabOutput/edi
diff options
context:
space:
mode:
Diffstat (limited to 'src/dabOutput/edi')
-rw-r--r--src/dabOutput/edi/TagItems.cpp6
-rw-r--r--src/dabOutput/edi/TagItems.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dabOutput/edi/TagItems.cpp b/src/dabOutput/edi/TagItems.cpp
index 75a4ecf..ed8517d 100644
--- a/src/dabOutput/edi/TagItems.cpp
+++ b/src/dabOutput/edi/TagItems.cpp
@@ -72,8 +72,8 @@ std::vector<uint8_t> TagDETI::Assemble()
packet.push_back(0);
packet.push_back(0);
- uint8_t fct = dflc % 250;
- uint8_t fcth = dflc / 250;
+ uint8_t fct = dlfc % 250;
+ uint8_t fcth = dlfc / 250;
uint16_t detiHeader = fct | (fcth << 8) | (rfudf << 13) | (ficf << 14) | (atstf << 15);
@@ -122,7 +122,7 @@ std::vector<uint8_t> TagDETI::Assemble()
packet[6] = (taglength >> 8) & 0xFF;
packet[7] = taglength & 0xFF;
- dflc = (dflc+1) % 5000;
+ dlfc = (dlfc+1) % 5000;
/*
std::cerr << "TagItem deti, packet.size " << packet.size() << std::endl;
diff --git a/src/dabOutput/edi/TagItems.h b/src/dabOutput/edi/TagItems.h
index 856d25b..19284d2 100644
--- a/src/dabOutput/edi/TagItems.h
+++ b/src/dabOutput/edi/TagItems.h
@@ -64,7 +64,7 @@ class TagDETI : public TagItem
uint8_t rfa = 0;
uint8_t rfu = 0; // MNSC is valid
uint16_t mnsc = 0;
- uint16_t dflc = 0; // modulo 5000 frame counter
+ uint16_t dlfc = 0; // modulo 5000 frame counter
// ATST (optional)
bool atstf = false; // presence of atst data