Update xdsp_05_epaper_29.ino (#17738)

This commit is contained in:
gemu 2023-01-18 08:50:22 +01:00 committed by GitHub
parent 853909cb35
commit bc1b35d2ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,10 +62,10 @@ void EpdInitDriver29(void) {
// whiten display with full update, takes 3 seconds
if (TasmotaGlobal.soft_spi_enabled) {
epd->Begin(Pin(GPIO_EPAPER29_CS), Pin(GPIO_SSPI_MOSI), Pin(GPIO_SSPI_SCLK));
epd->Begin(Pin(GPIO_EPAPER29_CS), Pin(GPIO_SSPI_MOSI), Pin(GPIO_SSPI_SCLK), Pin(GPIO_OLED_RESET), Pin(GPIO_SSPI_MISO));
}
else if (TasmotaGlobal.spi_enabled) {
epd->Begin(Pin(GPIO_EPAPER29_CS), Pin(GPIO_SPI_MOSI), Pin(GPIO_SPI_CLK));
epd->Begin(Pin(GPIO_EPAPER29_CS), Pin(GPIO_SPI_MOSI), Pin(GPIO_SPI_CLK), Pin(GPIO_OLED_RESET));
}
renderer = epd;