From 46d7e9392e0cec81de9f6bec46433b390a3ef54a Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Fri, 1 Jan 2021 15:54:47 +0100 Subject: [PATCH] Fix ST7789 --- tasmota/xdsp_12_ST7789.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdsp_12_ST7789.ino b/tasmota/xdsp_12_ST7789.ino index 624fd535c..cdb9ad167 100644 --- a/tasmota/xdsp_12_ST7789.ino +++ b/tasmota/xdsp_12_ST7789.ino @@ -89,7 +89,7 @@ void ST7789_InitDriver(void) { int8_t cs = -1; if (PinUsed(GPIO_ST7789_CS)) { - reset = Pin(GPIO_ST7789_CS); + cs = Pin(GPIO_ST7789_CS); } // init renderer, may use hardware spi