mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
merged adadevice with new color structures
Former-commit-id: 6cda6814a6e0edc3ef2692caa8370b496c6aaaac
This commit is contained in:
parent
5225f1149a
commit
eab2389da3
@ -18,7 +18,7 @@ LedDeviceAdalight::LedDeviceAdalight(const std::string& outputDevice, const unsi
|
|||||||
// empty
|
// empty
|
||||||
}
|
}
|
||||||
|
|
||||||
int LedDeviceAdalight::write(const std::vector<RgbColor> &ledValues)
|
int LedDeviceAdalight::write(const std::vector<ColorRgb> & ledValues)
|
||||||
{
|
{
|
||||||
if (_ledBuffer.size() == 0)
|
if (_ledBuffer.size() == 0)
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@ public:
|
|||||||
/// @param ledValues The color-value per led
|
/// @param ledValues The color-value per led
|
||||||
/// @return Zero on succes else negative
|
/// @return Zero on succes else negative
|
||||||
///
|
///
|
||||||
virtual int write(const std::vector<RgbColor> &ledValues);
|
virtual int write(const std::vector<ColorRgb> & ledValues);
|
||||||
|
|
||||||
/// Switch the leds off
|
/// Switch the leds off
|
||||||
virtual int switchOff();
|
virtual int switchOff();
|
||||||
|
Loading…
Reference in New Issue
Block a user