mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 04:36:31 +00:00
Update xdsp_05_epaper_29.ino (#17738)
This commit is contained in:
parent
853909cb35
commit
bc1b35d2ff
@ -62,10 +62,10 @@ void EpdInitDriver29(void) {
|
|||||||
|
|
||||||
// whiten display with full update, takes 3 seconds
|
// whiten display with full update, takes 3 seconds
|
||||||
if (TasmotaGlobal.soft_spi_enabled) {
|
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) {
|
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;
|
renderer = epd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user