From a45e7d756199e544b162769e94c41dfbee98a9d4 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 2 Nov 2022 15:33:54 +0100 Subject: [PATCH] debug printout --- linux/ipcore/PdecHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/ipcore/PdecHandler.cpp b/linux/ipcore/PdecHandler.cpp index 33995675..ff1f819d 100644 --- a/linux/ipcore/PdecHandler.cpp +++ b/linux/ipcore/PdecHandler.cpp @@ -167,6 +167,8 @@ ReturnValue_t PdecHandler::irqOperation() { // No TCs for timeout period checkLocks(); lockCheckCd.resetTimer(); + uint32_t pisr = *(registerBaseAddress + PDEC_PISR_OFFSET); + sif::debug << "Current PISR: " << pisr << std::endl; } else if (ret >= 1) { nb = read(fd, &info, sizeof(info)); if (nb == static_cast(sizeof(info))) {