From cba531bbad8481db47318ac8146c54252100f2ad Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 13 Nov 2016 13:10:30 +0100 Subject: Add first filter to display only some FIGs TODO: many FIGs print without using printbuf, fir which the filter doesn't work yet. --- src/fig0_1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fig0_1.cpp') diff --git a/src/fig0_1.cpp b/src/fig0_1.cpp index 944849f..80ed906 100644 --- a/src/fig0_1.cpp +++ b/src/fig0_1.cpp @@ -46,7 +46,7 @@ bool fig0_1_is_complete(int subch_id) // FIG 0/1 Basic sub-channel organization // ETSI EN 300 401 6.2.1 -bool fig0_1(fig0_common_t& fig0, int indent) +bool fig0_1(fig0_common_t& fig0, const display_settings_t &disp) { int i = 1; uint8_t* f = fig0.f; @@ -104,7 +104,7 @@ bool fig0_1(fig0_common_t& fig0, int indent) i += 3; } - printbuf(desc, indent+1, NULL, 0); + printbuf(desc, disp+1, NULL, 0); } return complete; -- cgit v1.2.3