From af58d4696ab9d389f5f902d2666fc3f6ddfd3642 Mon Sep 17 00:00:00 2001 From: Markus Kalkbrenner Date: Mon, 3 Jun 2024 19:57:26 +0200 Subject: [PATCH] more debug output --- src/DMD.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/DMD.cpp b/src/DMD.cpp index 797dc1f..34ff35c 100644 --- a/src/DMD.cpp +++ b/src/DMD.cpp @@ -782,6 +782,9 @@ void DMD::SerumThread() { uint32_t result = Serum_Colorize(m_pUpdateBufferQueue[currentBufferPosition]->data); + Log(DMDUtil_LogLevel_DEBUG, "Serum: frameID=%d, rotation=%d, flags=%d", result, m_pSerum->rotationtimer, + m_pSerum->flags); + if (result != IDENTIFY_NO_FRAME) { lastDmdUpdate = m_pUpdateBufferQueue[currentBufferPosition]; @@ -811,6 +814,8 @@ void DMD::SerumThread() { uint32_t result = Serum_Rotate(); + Log(DMDUtil_LogLevel_DEBUG, "Serum: rotation=%d, flags=%d", m_pSerum->rotationtimer, result & 0xfffff0000); + if (result > 0) { QueueSerumFrames(lastDmdUpdate, result & 0x10000, result & 0x20000);