diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-05-01 08:11:14 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-05-01 08:11:14 +0200 |
commit | 1f1c52258d904a7eedf14733228f3098f3f2e2ce (patch) | |
tree | 415bca308f7b357d3a7944192b3ea336ae8b2973 | |
parent | fa97e6417eed3b7acffc014209a1691588cb8acd (diff) | |
download | etisnoop-1f1c52258d904a7eedf14733228f3098f3f2e2ce.tar.gz etisnoop-1f1c52258d904a7eedf14733228f3098f3f2e2ce.tar.bz2 etisnoop-1f1c52258d904a7eedf14733228f3098f3f2e2ce.zip |
Minor FIG display changes
-rw-r--r-- | src/etisnoop.cpp | 12 |
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( } } - |