Files
scheincommander/dmxcontrollerthread.cpp

16 lines
305 B
C++
Raw Normal View History

2023-02-15 01:12:19 +01:00
#include "dmxcontrollerthread.h"
#include "dmxcontroller.h"
DmxControllerThread::DmxControllerThread(DmxController &controller) :
QThread{&controller},
m_controller{controller}
{
}
void DmxControllerThread::run()
{
while (!isInterruptionRequested())
m_controller.sendDmxBuffer();
}