Skip to content

Commit 2929d4e

Browse files
committed
added log info aboput RGB24DMD thread
1 parent a602a05 commit 2929d4e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/DMD.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,10 @@ bool DMD::DestroyLevelDMD(LevelDMD* pLevelDMD)
283283
void DMD::AddRGB24DMD(RGB24DMD* pRGB24DMD)
284284
{
285285
m_rgb24DMDs.push_back(pRGB24DMD);
286-
if (!m_pRGB24DMDThread) m_pRGB24DMDThread = new std::thread(&DMD::RGB24DMDThread, this);
286+
if (!m_pRGB24DMDThread) {
287+
m_pRGB24DMDThread = new std::thread(&DMD::RGB24DMDThread, this);
288+
Log(DMDUtil_LogLevel_INFO, "RGB24DMDThread started");
289+
}
287290
}
288291

289292
RGB24DMD* DMD::CreateRGB24DMD(uint16_t width, uint16_t height)

0 commit comments

Comments
 (0)