diff options
Diffstat (limited to 'fmdriver/fmdriver_pmd.c')
-rw-r--r-- | fmdriver/fmdriver_pmd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fmdriver/fmdriver_pmd.c b/fmdriver/fmdriver_pmd.c index 7090fc8..14459a5 100644 --- a/fmdriver/fmdriver_pmd.c +++ b/fmdriver/fmdriver_pmd.c @@ -5486,6 +5486,9 @@ static void pmd_proc_parts( struct fmdriver_work *work, struct driver_pmd *pmd ) { + pmd->loop.looped = true; + pmd->loop.ended = true; + pmd->loop.env = false; if (!pmd->opm_flag) { for (int c = 0; c < 3; c++) { pmd->proc_ch = c+1; @@ -5538,6 +5541,7 @@ static void pmd_proc_parts( } else { pmd->status2 = 0xff; } + work->loop_cnt = pmd->status2; } // 3e2e @@ -5623,6 +5627,7 @@ static void pmd_timer( } if (status & 2) { pmd_timerb(work, pmd); + work->timerb_cnt++; } } |