mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Add _ftdic(nullptr)
This commit is contained in:
parent
33769ce31e
commit
e40c2833d1
@ -60,11 +60,16 @@ namespace {
|
|||||||
} //End of constants
|
} //End of constants
|
||||||
|
|
||||||
ProviderSpi::ProviderSpi(const QJsonObject &deviceConfig)
|
ProviderSpi::ProviderSpi(const QJsonObject &deviceConfig)
|
||||||
: LedDevice(deviceConfig), _deviceName("/dev/spidev0.0"), _baudRate_Hz(1000000)
|
: LedDevice(deviceConfig),
|
||||||
|
_deviceName("/dev/spidev0.0"),
|
||||||
|
_baudRate_Hz(1000000)
|
||||||
#ifdef ENABLE_DEV_SPI
|
#ifdef ENABLE_DEV_SPI
|
||||||
, _fid(-1)
|
, _fid(-1)
|
||||||
, _spiMode(SPI_MODE_0)
|
, _spiMode(SPI_MODE_0)
|
||||||
, _spiDataInvert(false)
|
, _spiDataInvert(false)
|
||||||
|
#endif
|
||||||
|
#ifdef ENABLE_DEV_FTDI
|
||||||
|
, _ftdic(nullptr)
|
||||||
#endif
|
#endif
|
||||||
, _spiImplementation(SPIDEV) {
|
, _spiImplementation(SPIDEV) {
|
||||||
#ifdef ENABLE_DEV_SPI
|
#ifdef ENABLE_DEV_SPI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user