fixed bitpair_to_byte table

fixed end frame byte count
This commit is contained in:
penfold42 2018-03-01 17:34:34 +11:00
parent e190a51cfc
commit 96cefd7603

View File

@ -37,12 +37,12 @@ Reset time is 24uS = 59 bits = 8 bytes
LedDeviceAPA104::LedDeviceAPA104(const QJsonObject &deviceConfig) LedDeviceAPA104::LedDeviceAPA104(const QJsonObject &deviceConfig)
: ProviderSpi() : ProviderSpi()
, SPI_BYTES_PER_COLOUR(4) , SPI_BYTES_PER_COLOUR(4)
, SPI_FRAME_END_LATCH_BYTES(116) , SPI_FRAME_END_LATCH_BYTES(8)
, bitpair_to_byte { , bitpair_to_byte {
0b10001000, 0b10001000,
0b10001100, 0b10001110,
0b11001000, 0b11101000,
0b11001100, 0b11101110,
} }
{ {
_deviceReady = init(deviceConfig); _deviceReady = init(deviceConfig);