Unverified Commit a1b62403 authored by Bodmer's avatar Bodmer Committed by GitHub

Update TFT_eSPI_ESP32_S3.c

parent f624d505
......@@ -151,8 +151,8 @@ void TFT_eSPI::busDir(uint32_t mask, uint8_t mode)
***************************************************************************************/
void TFT_eSPI::gpioMode(uint8_t gpio, uint8_t mode)
{
pinMode(pin, mode);
digitalWrite(pin, HIGH);
pinMode(gpio, mode);
digitalWrite(gpio, HIGH);
}
////////////////////////////////////////////////////////////////////////////////////////
#endif // #ifdef TFT_PARALLEL_8_BIT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment