APA102 protocol fix (#1352) (#1361)

* Fix APA102 protocoll

* Minor clean-ups

* Revert updates
This commit is contained in:
LordGrey
2021-10-28 18:54:54 +01:00
committed by GitHub
parent ba32b875ab
commit 954112a88e
7 changed files with 65 additions and 28 deletions

View File

@@ -39,10 +39,6 @@ bool LedDeviceSK9822::init(const QJsonObject &deviceConfig)
_ledBuffer.resize(0, 0x00);
_ledBuffer.resize(bufferSize, 0x00);
//_ledBuffer[0] = 0x00;
//_ledBuffer[1] = 0x00;
//_ledBuffer[2] = 0x00;
//_ledBuffer[3] = 0x00;
isInitOK = true;
}