From e0d46ff9b9819add63f3969938a1dcd756c00d69 Mon Sep 17 00:00:00 2001 From: MicroBahner Date: Mon, 18 Jul 2016 16:21:20 +0200 Subject: [PATCH] DCC_DEBUG: new function getNestedIrqCount() getNestedIrqCount() returns how often the DCC-Irq interrupted itself. This is a hint that the DCC Signal is not clean and there are glitches. --- NmraDcc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/NmraDcc.h b/NmraDcc.h index 87d83c5..7dee736 100644 --- a/NmraDcc.h +++ b/NmraDcc.h @@ -203,6 +203,7 @@ class NmraDcc uint8_t getTickCount(void); uint8_t getBitCount(void); uint8_t getState(void); + uint8_t getNestedIrqCount(void); #endif };