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

Update TFT_eSPI_ESP32.c

parent 89c0028a
......@@ -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