fix: correct acknowledgment for log timer interrupt to prevent redundant triggers
This commit is contained in:
+2
-1
@@ -406,7 +406,8 @@ void AppTimer_IntrHandler(void *context)
|
|||||||
Phy_UpdateLogging(phyInstPtr);
|
Phy_UpdateLogging(phyInstPtr);
|
||||||
}
|
}
|
||||||
|
|
||||||
XTmrCtr_ClearStats((XTmrCtr *)xdesc->instance);
|
XTmrCtr_WriteReg(((XTmrCtr *)xdesc->instance)->BaseAddress, 0,
|
||||||
|
XTC_TCSR_OFFSET, XTC_CSR_INT_OCCURED_MASK);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#error No timer implementation!
|
#error No timer implementation!
|
||||||
|
|||||||
Reference in New Issue
Block a user