From ab379f2bb081f3fe2ea77ed163f755f59a49e6cf Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 12 Apr 2017 01:04:15 +0900 Subject: added wave output --- fmdriver/fmdriver_pmd.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fmdriver/fmdriver_pmd.c') 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++; } } -- cgit v1.2.3