From 1f1c52258d904a7eedf14733228f3098f3f2e2ce Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 1 May 2017 08:11:14 +0200 Subject: Minor FIG display changes --- src/etisnoop.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/etisnoop.cpp') 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( } } - -- cgit v1.2.3