mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Leddevice refactoring the next part (#253)
* add general switchOff * refactoring of leddevices regarding ledcount and switchoff * remove obsolete includes
This commit is contained in:
@@ -1012,9 +1012,9 @@ void Hyperion::update()
|
||||
|
||||
// Write the data to the device
|
||||
if (_deviceSmooth->enabled())
|
||||
_deviceSmooth->write(_ledBuffer);
|
||||
_deviceSmooth->setLedValues(_ledBuffer);
|
||||
else
|
||||
_device->write(_ledBuffer);
|
||||
_device->setLedValues(_ledBuffer);
|
||||
|
||||
// Start the timeout-timer
|
||||
if (priorityInfo.timeoutTime_ms == -1)
|
||||
|
Reference in New Issue
Block a user