icf->ifc typo
This commit is contained in:
parent
bdc796a8ce
commit
9ff4e76623
6 changed files with 14 additions and 14 deletions
|
@ -81,7 +81,7 @@ bool LL_CrcHandler::IsRunning(SlotBase &slot, uint8_t prio) const
|
|||
void LL_CrcHandler::DmaTransferCompleted(void)
|
||||
{
|
||||
if(* m_dma.GetIsReg() & m_dma.GetTcMask()) { // DMA transfer complete
|
||||
* m_dma.GetIcfReg() = m_dma.GetTcMask();
|
||||
* m_dma.GetIfcReg() = m_dma.GetTcMask();
|
||||
LL_DMA_DisableStream(m_dma.GetDma(), m_dma.GetStream());
|
||||
if(m_activeSlot) {
|
||||
if((*m_activeSlot)[m_activePrio].m_callback)
|
||||
|
@ -91,7 +91,7 @@ void LL_CrcHandler::DmaTransferCompleted(void)
|
|||
}
|
||||
}
|
||||
else if(*m_dma.GetIsReg() & m_dma.GetTeMask()) { // DMA transfer error
|
||||
*m_dma.GetIcfReg() = m_dma.GetTeMask();
|
||||
*m_dma.GetIfcReg() = m_dma.GetTeMask();
|
||||
LL_DMA_DisableStream(m_dma.GetDma(), m_dma.GetStream());
|
||||
if(m_activeSlot) {
|
||||
if((*m_activeSlot)[m_activePrio].m_callback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue