rw enable wip

This commit is contained in:
Martin Zietz
2021-06-22 13:48:30 +02:00
parent 49c7b3fd45
commit 88181d8fb4
4 changed files with 30 additions and 15 deletions

View File

@ -46,7 +46,7 @@ void initSpiCsDecoder(GpioIF* gpioComIF) {
std::string("SPI Mux Bit 6"), gpio::OUT, 0);
spiMuxGpios->addGpio(gpioIds::SPI_MUX_BIT_6, spiMuxBit6);
GpiodRegular* enRwDecoder = new GpiodRegular(std::string("gpiochip5"), 17,
std::string("EN_RW_CS"), gpio::OUT, 0);
std::string("EN_RW_CS"), gpio::OUT, 1);
spiMuxGpios->addGpio(gpioIds::EN_RW_CS, enRwDecoder);
result = gpioComInterface->addGpios(spiMuxGpios);