File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,8 @@ class DMDUTILAPI DMD
156156 void DumpDMDRaw ();
157157 LevelDMD* CreateLevelDMD (uint16_t width, uint16_t height, bool sam);
158158 bool DestroyLevelDMD (LevelDMD* pLevelDMD);
159- void AddRGB24DMD (RGB24DMD* const pRGB24DMD);
160- RGB24DMD* const CreateRGB24DMD (uint16_t width, uint16_t height);
159+ void AddRGB24DMD (RGB24DMD* pRGB24DMD);
160+ RGB24DMD* CreateRGB24DMD (uint16_t width, uint16_t height);
161161 bool DestroyRGB24DMD (RGB24DMD* pRGB24DMD);
162162 ConsoleDMD* CreateConsoleDMD (bool overwrite, FILE* out = stdout);
163163 bool DestroyConsoleDMD (ConsoleDMD* pConsoleDMD);
Original file line number Diff line number Diff line change @@ -280,16 +280,17 @@ bool DMD::DestroyLevelDMD(LevelDMD* pLevelDMD)
280280 return false ;
281281}
282282
283- void DMD::AddRGB24DMD (RGB24DMD* const pRGB24DMD)
283+ void DMD::AddRGB24DMD (RGB24DMD* pRGB24DMD)
284284{
285285 m_rgb24DMDs.push_back (pRGB24DMD);
286+ Log (DMDUtil_LogLevel_INFO, " Added RGB24DMD" );
286287 if (!m_pRGB24DMDThread) {
287288 m_pRGB24DMDThread = new std::thread (&DMD::RGB24DMDThread, this );
288289 Log (DMDUtil_LogLevel_INFO, " RGB24DMDThread started" );
289290 }
290291}
291292
292- RGB24DMD* const DMD::CreateRGB24DMD (uint16_t width, uint16_t height)
293+ RGB24DMD* DMD::CreateRGB24DMD (uint16_t width, uint16_t height)
293294{
294295 RGB24DMD* const pRGB24DMD = new RGB24DMD (width, height);
295296 AddRGB24DMD (pRGB24DMD);
You can’t perform that action at this time.
0 commit comments