merged adadevice with new color structures

Former-commit-id: 6cda6814a6e0edc3ef2692caa8370b496c6aaaac
This commit is contained in:
T. van der Zwan 2013-11-12 06:52:00 +00:00
parent 5225f1149a
commit eab2389da3
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{ {

View File

@ -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();