mirror of
https://github.com/rvtr/twl_wrapsdk.git
synced 2025-10-31 06:11:10 -04:00
fix mic-dma interrupt.
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@244 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
parent
d804cdac84
commit
61cd321aa6
@ -75,7 +75,7 @@ void MICi_Start( MICSampleRate smp, u32 dmaNo, void *dest, s32 size )
|
||||
|
||||
MICi_ExDmaRecvAsync( dmaNo, dest, size );
|
||||
|
||||
OS_SetIrqFunction( OS_IE_DMA4 + ch, MICi_ExDmaInterruptHandler );
|
||||
OS_SetIrqFunction( OS_IE_DMA4 << ch, MICi_ExDmaInterruptHandler );
|
||||
|
||||
reg_OS_IF = (OS_IE_DMA4 << ch);
|
||||
reg_OS_IE |= (OS_IE_DMA4 << ch); // enable mic dma interrupt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user