mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
General tidy up
This commit is contained in:
@@ -35,7 +35,7 @@ Reset time is 24uS = 59 bits = 8 bytes
|
||||
*/
|
||||
|
||||
LedDeviceAPA104::LedDeviceAPA104(const QJsonObject &deviceConfig)
|
||||
: ProviderSpi()
|
||||
: ProviderSpi(deviceConfig)
|
||||
, SPI_BYTES_PER_COLOUR(4)
|
||||
, SPI_FRAME_END_LATCH_BYTES(8)
|
||||
, bitpair_to_byte {
|
||||
@@ -45,10 +45,6 @@ LedDeviceAPA104::LedDeviceAPA104(const QJsonObject &deviceConfig)
|
||||
0b11101110,
|
||||
}
|
||||
{
|
||||
_devConfig = deviceConfig;
|
||||
_isDeviceReady = false;
|
||||
|
||||
_activeDeviceType = deviceConfig["type"].toString("UNSPECIFIED").toLower();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user