feat: Increase HyperionGrabber frame rate to 30 FPS
This commit is contained in:
parent
cfc205db7a
commit
6695ca9f99
4
main.cpp
4
main.cpp
@ -195,11 +195,11 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
// Setup timer for processing frames
|
// Setup timer for processing frames
|
||||||
processTimer = new QTimer();
|
processTimer = new QTimer();
|
||||||
processTimer->setInterval(1000); // Process every 1 second
|
processTimer->setInterval(33); // Process every 1 second
|
||||||
QObject::connect(processTimer, &QTimer::timeout, &processCurrentFrame);
|
QObject::connect(processTimer, &QTimer::timeout, &processCurrentFrame);
|
||||||
processTimer->start();
|
processTimer->start();
|
||||||
|
|
||||||
qInfo() << "HyperionGrabber started. Sending LED colors to WLED device:" << wledAddress << ":" << wledPort;
|
qInfo() << "HyperionGrabber started. Sending LED colors to WLED device:" << wledAddress << ":" << wledPort;
|
||||||
|
|
||||||
return qapp->exec();
|
return qapp->exec();
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user