From 96cefd76038f171b01c5c75830bcc1d8a66a67a4 Mon Sep 17 00:00:00 2001 From: penfold42 Date: Thu, 1 Mar 2018 17:34:34 +1100 Subject: [PATCH] fixed bitpair_to_byte table fixed end frame byte count --- libsrc/leddevice/dev_spi/LedDeviceAPA104.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/leddevice/dev_spi/LedDeviceAPA104.cpp b/libsrc/leddevice/dev_spi/LedDeviceAPA104.cpp index 3a99f1c1..6512da31 100644 --- a/libsrc/leddevice/dev_spi/LedDeviceAPA104.cpp +++ b/libsrc/leddevice/dev_spi/LedDeviceAPA104.cpp @@ -37,12 +37,12 @@ Reset time is 24uS = 59 bits = 8 bytes LedDeviceAPA104::LedDeviceAPA104(const QJsonObject &deviceConfig) : ProviderSpi() , SPI_BYTES_PER_COLOUR(4) - , SPI_FRAME_END_LATCH_BYTES(116) + , SPI_FRAME_END_LATCH_BYTES(8) , bitpair_to_byte { 0b10001000, - 0b10001100, - 0b11001000, - 0b11001100, + 0b10001110, + 0b11101000, + 0b11101110, } { _deviceReady = init(deviceConfig);