From ef07b48540b77a14e62bb1cb320e7cf31c42bc6d Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Sat, 4 Feb 2023 20:10:38 -0500 Subject: [PATCH] DMR Minor Code Fixes; --- src/dmr_bs.c | 2 +- src/dmr_data.c | 2 +- src/dmr_ms.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dmr_bs.c b/src/dmr_bs.c index 614e25c..cc32799 100644 --- a/src/dmr_bs.c +++ b/src/dmr_bs.c @@ -737,7 +737,7 @@ void dmrBSBootstrap (dsd_opts * opts, dsd_state * state) processMbeFrame (opts, state, NULL, ambe_fr3, NULL); //collect the mi fragment - dmr_late_entry_mi_fragment (opts, state, 1, ambe_fr, ambe_fr2, ambe_fr3); + dmr_late_entry_mi_fragment (opts, state, 1, m1, m2, m3); cach_err = dmr_cach (opts, state, cachdata); fprintf (stderr, "\n"); diff --git a/src/dmr_data.c b/src/dmr_data.c index baa6489..b1ce078 100644 --- a/src/dmr_data.c +++ b/src/dmr_data.c @@ -303,7 +303,7 @@ dmr_data_sync (dsd_opts * opts, dsd_state * state) if (state->dmr_ms_rc == 0) dmr_data_burst_handler(opts, state, (uint8_t *)info, burst); //don't run cach on simplex or mono - if (state->dmr_ms_mode == 0 || opts->dmr_mono == 0) + if (state->dmr_ms_mode == 0 && opts->dmr_mono == 0) { cach_err = dmr_cach (opts, state, cachdata); } diff --git a/src/dmr_ms.c b/src/dmr_ms.c index e466f1b..2fe6556 100644 --- a/src/dmr_ms.c +++ b/src/dmr_ms.c @@ -588,7 +588,7 @@ void dmrMSBootstrap (dsd_opts * opts, dsd_state * state) } //collect the mi fragment - dmr_late_entry_mi_fragment (opts, state, 1, ambe_fr, ambe_fr2, ambe_fr3); + dmr_late_entry_mi_fragment (opts, state, 1, m1, m2, m3); //errors due to skipping other slot // cach_err = dmr_cach (opts, state, cachdata);