From 5e2425b3a0528c5af73e5932f20d890b51747602 Mon Sep 17 00:00:00 2001 From: Zilog80 Date: Sun, 28 Aug 2022 12:22:53 +0200 Subject: [PATCH] rs41mod: fix broken frame output --- demod/mod/rs41mod.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/demod/mod/rs41mod.c b/demod/mod/rs41mod.c index 55615ba..38a5cc3 100644 --- a/demod/mod/rs41mod.c +++ b/demod/mod/rs41mod.c @@ -2122,7 +2122,10 @@ static int print_position(gpx_t *gpx, int ec) { if (gpx->option.ptu) out_mask |= crc_PTU; err = get_FrameConf(gpx, 0); - if (out && !err) prn_frm(gpx); + if (out && !err) { + prn_frm(gpx); + output = 1; + } pck = (gpx->frame[pos_PTU]<<8) | gpx->frame[pos_PTU+1]; ofs = 0;