mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
fix initial reset
This commit is contained in:
parent
ec283cc22b
commit
7adaaffc0a
@ -21,7 +21,7 @@ bool LedDeviceLpd8806::init(const QJsonObject &deviceConfig)
|
||||
_ledBuffer.resize(messageLength, 0x00);
|
||||
|
||||
// Perform an initial reset to start accepting data on the first led
|
||||
return writeBytes(_ledBuffer.size(), _ledBuffer.data());
|
||||
return writeBytes(clearSize, _ledBuffer.data());
|
||||
}
|
||||
|
||||
int LedDeviceLpd8806::write(const std::vector<ColorRgb> &ledValues)
|
||||
|
Loading…
Reference in New Issue
Block a user