mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
* Fix APA102 protocoll * Minor clean-ups * Revert updates
This commit is contained in:
@@ -37,6 +37,7 @@ ProviderSpi::ProviderSpi(const QJsonObject &deviceConfig)
|
||||
{
|
||||
memset(&_spi, 0, sizeof(_spi));
|
||||
_latchTime_ms = 1;
|
||||
_isInSwitchOff = false;
|
||||
}
|
||||
|
||||
ProviderSpi::~ProviderSpi()
|
||||
@@ -68,6 +69,7 @@ int ProviderSpi::open()
|
||||
int retval = -1;
|
||||
QString errortext;
|
||||
_isDeviceReady = false;
|
||||
_isInSwitchOff = false;
|
||||
|
||||
const int bitsPerWord = 8;
|
||||
|
||||
|
Reference in New Issue
Block a user