Unverified Commit b3dab671 authored by Maximilian Gerhardt's avatar Maximilian Gerhardt Committed by GitHub

Fix uncompilable TFT_eSPI_ESP32.h when TFT_RD >= 32

parent 5f171eee
......@@ -346,8 +346,8 @@
// Read pin
#ifdef TFT_RD
#if (TFT_RD >= 32)
#define RD_L GPIO.out1_w1tc.val = = (1 << (TFT_RD - 32))
#define RD_H GPIO.out1_w1ts.val = = (1 << (TFT_RD - 32))
#define RD_L GPIO.out1_w1tc.val = (1 << (TFT_RD - 32))
#define RD_H GPIO.out1_w1ts.val = (1 << (TFT_RD - 32))
#elif (TFT_RD >= 0)
#define RD_L GPIO.out_w1tc = (1 << TFT_RD)
//#define RD_L digitalWrite(TFT_WR, LOW)
......
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