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_28.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fig0_28.cpp') diff --git a/src/fig0_28.cpp b/src/fig0_28.cpp index 68798c4..f0cbbdd 100644 --- a/src/fig0_28.cpp +++ b/src/fig0_28.cpp @@ -49,7 +49,7 @@ bool fig0_28_is_complete(int cluster_id) // FIG 0/28 FM Announcement switching // ETSI EN 300 401 8.1.11.2.2 -bool fig0_28(fig0_common_t& fig0, int indent) +bool fig0_28(fig0_common_t& fig0, const display_settings_t &disp) { uint16_t PI; uint8_t i = 1, Cluster_Id_Current_Ensemble, Region_Id_Current_Ensemble; @@ -81,7 +81,7 @@ bool fig0_28(fig0_common_t& fig0, int indent) } sprintf(tmpbuf, ", Region Id Current Ensemble=0x%X, PI=0x%X", Region_Id_Current_Ensemble, PI); strcat(desc, tmpbuf); - printbuf(desc, indent+1, NULL, 0); + printbuf(desc, disp+1, NULL, 0); i += 4; } -- cgit v1.2.3