Update xdsp_09_SSD1351.ino

This commit is contained in:
gemu2015 2021-02-28 16:19:09 +01:00
parent 5f75f4619c
commit ed5dcbe616

View File

@ -66,11 +66,9 @@ void SSD1351_InitDriver() {
int8_t dcpin = -1; int8_t dcpin = -1;
#endif #endif
#ifdef GPIO_SSD1351_DC
if (PinUsed(GPIO_SSD1351_DC)) { if (PinUsed(GPIO_SSD1351_DC)) {
dcpin = Pin(GPIO_SSD1351_DC); dcpin = Pin(GPIO_SSD1351_DC);
} }
#endif
// init renderer // init renderer
if (TasmotaGlobal.soft_spi_enabled){ if (TasmotaGlobal.soft_spi_enabled){