Skip to content

Commit

Permalink
fixed virtual DMD thread pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Feb 12, 2024
1 parent 7b24daa commit 56bee8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ VirtualDMD* DMD::CreateVirtualDMD(uint16_t width, uint16_t height)
{
VirtualDMD* const pVirtualDMD = new VirtualDMD(width, height);
m_virtualDMDs.push_back(pVirtualDMD);
if (!m_pZeDMDThread) m_pZeDMDThread = new std::thread(&DMD::VirtualDMDThread, this);
if (!m_pVirtualDMDThread) m_pVirtualDMDThread = new std::thread(&DMD::VirtualDMDThread, this);
return pVirtualDMD;
}

Expand Down

0 comments on commit 56bee8a

Please sign in to comment.