Unverified Commit 38b52a46 authored by Bodmer's avatar Bodmer Committed by GitHub

Update TFT_eSPI_ESP32.c

parent d6544c9c
...@@ -151,8 +151,8 @@ void TFT_eSPI::busDir(uint32_t mask, uint8_t mode) ...@@ -151,8 +151,8 @@ void TFT_eSPI::busDir(uint32_t mask, uint8_t mode)
***************************************************************************************/ ***************************************************************************************/
void TFT_eSPI::gpioMode(uint8_t gpio, uint8_t mode) void TFT_eSPI::gpioMode(uint8_t gpio, uint8_t mode)
{ {
pinMode(pin, mode); pinMode(gpio, mode);
digitalWrite(pin, HIGH); digitalWrite(gpio, HIGH);
} }
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////
#endif // #ifdef TFT_PARALLEL_8_BIT #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