Skip to content

Commit

Permalink
more debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Jun 3, 2024
1 parent d1e9139 commit af58d46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/DMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit af58d46

Please sign in to comment.