mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
set color on json connection implemented
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
DispmanxWrapper::DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz, Hyperion * hyperion) :
|
||||
_updateInterval_ms(1000/updateRate_Hz),
|
||||
_timeout_ms(2 * _updateInterval_ms),
|
||||
_priority(128),
|
||||
_timer(),
|
||||
_image(grabWidth, grabHeight),
|
||||
_frameGrabber(new DispmanxFrameGrabber(grabWidth, grabHeight)),
|
||||
@@ -52,7 +53,6 @@ void DispmanxWrapper::action()
|
||||
|
||||
_processor->process(_image, _ledColors);
|
||||
|
||||
const int _priority = 100;
|
||||
_hyperion->setValue(_priority, _ledColors, _timeout_ms);
|
||||
}
|
||||
void DispmanxWrapper::stop()
|
||||
|
Reference in New Issue
Block a user