aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/etisnoop.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/etisnoop.cpp b/src/etisnoop.cpp
index f41062a..ef0de16 100644
--- a/src/etisnoop.cpp
+++ b/src/etisnoop.cpp
@@ -757,7 +757,7 @@ void decodeFIG(
}
break;
case 2:
- {// LONG LABELS
+ {// EXTENDED LABELS
uint16_t ext,oe;
uint8_t toggle_flag = (f[0] & 0x80) >> 7;
@@ -771,12 +771,12 @@ void decodeFIG(
"FIG %d/%d: Toggle flag=%d, Segment_index=%d, OE=%d",
figtype, ext, toggle_flag, segment_index, oe);
- printbuf(desc, disp.indent, f+1, figlen-1);
+ printfig(desc, disp, f+1, figlen-1);
}
figs.push_back(figtype, ext, figlen);
- bool complete = true; // TODO verify
+ bool complete = true;
rate_announce_fig(figtype, ext, complete);
}
break;
@@ -794,10 +794,7 @@ void decodeFIG(
sprintf(desc,
"FIG %d/%d: D1=%d, D2=%d, TCId=%d",
figtype, ext, d1, d2, tcid);
-
- if (disp.print) {
- printbuf(desc, disp.indent, f+1, figlen-1);
- }
+ printfig(desc, disp, f+1, figlen-1);
figs.push_back(figtype, ext, figlen);
@@ -818,4 +815,3 @@ void decodeFIG(
}
}
-