fw/layer1: Add some sched items flags to signal DSP & TPU scenarios
[osmocom-bb.git] / src / target / firmware / layer1 / sync.c
index 233cf6e..cd76c2e 100644 (file)
@@ -271,7 +271,11 @@ static void l1_sync(void)
                dsp_api.r_page ^= 1;
        }
 
-       //dsp_end_scenario();
+       if (sched_flags & TDMA_IFLG_DSP)
+               dsp_end_scenario();
+
+       if (sched_flags & TDMA_IFLG_TPU)
+               tpu_end_scenario();
 
        /* schedule new / upcoming TDMA items */
        mframe_schedule();