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_16.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fig0_16.cpp') diff --git a/src/fig0_16.cpp b/src/fig0_16.cpp index 24c9040..4583fc7 100644 --- a/src/fig0_16.cpp +++ b/src/fig0_16.cpp @@ -54,7 +54,7 @@ bool fig0_16_is_complete(SId_t SId, PNum_t PNum) // FIG 0/16 Programme Number & fig0.oe() Programme Number // ETSI EN 300 401 8.1.4 & 8.1.10.3 -bool fig0_16(fig0_common_t& fig0, int indent) +bool fig0_16(fig0_common_t& fig0, const display_settings_t &disp) { uint16_t SId, PNum, New_SId, New_PNum; uint8_t i = 1, Rfa, Rfu; @@ -119,7 +119,7 @@ bool fig0_16(fig0_common_t& fig0, int indent) i += 4; } - printbuf(desc, indent+1, NULL, 0); + printbuf(desc, disp+1, NULL, 0); } return complete; -- cgit v1.2.3