icf->ifc typo
This commit is contained in:
parent
bdc796a8ce
commit
9ff4e76623
6 changed files with 14 additions and 14 deletions
|
@ -15,7 +15,7 @@ volatile uint32_t* GetIsReg(DMA_TypeDef *dma, uint32_t stream)
|
|||
return (stream < LL_DMA_STREAM_4) ? &DMA2->LISR : &DMA2->HISR;
|
||||
}
|
||||
|
||||
volatile uint32_t* GetIcfReg(DMA_TypeDef *dma, uint32_t stream)
|
||||
volatile uint32_t* GetIfcReg(DMA_TypeDef *dma, uint32_t stream)
|
||||
{
|
||||
if(dma == DMA1)
|
||||
return (stream < LL_DMA_STREAM_4) ? &DMA1->LIFCR : &DMA1->HIFCR;
|
||||
|
@ -69,7 +69,7 @@ void InitDmaInfo(DMAINFO *info, DMA_TypeDef *dma, uint32_t stream)
|
|||
info->dma = dma;
|
||||
info->stream = stream;
|
||||
info->isReg = GetIsReg(dma, stream);
|
||||
info->ifcReg = GetIcfReg(dma, stream);
|
||||
info->ifcReg = GetIfcReg(dma, stream);
|
||||
info->feMask = GetFeMask(stream);
|
||||
info->dmeMask = GetDmeMask(stream);
|
||||
info->teMask = GetTeMask(stream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue