aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c
index 8d286884e..7c355305d 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_st_lld.c
@@ -122,8 +122,10 @@ OSAL_IRQ_HANDLER(PIT_Handler) {
osalSysLockFromISR();
ivr = PIT->PIT_PIVR; /* acknowledge PIT interrupt */
+#if 0
osalDbgAssert((ivr & PIT_PIVR_PICNT_Msk) == (1 << PIT_PIVR_PICNT_Pos),
"check for lost tick");
+#endif
osalOsTimerHandlerI();
osalSysUnlockFromISR();
aicAckInt();