diff --git a/examples/T-Block/Epaper_TP/Epaper_TP.ino b/examples/T-Block/Epaper_TP/Epaper_TP.ino index 744d608..f16e2f2 100644 --- a/examples/T-Block/Epaper_TP/Epaper_TP.ino +++ b/examples/T-Block/Epaper_TP/Epaper_TP.ino @@ -22,7 +22,10 @@ git clone https://github.com/olikraus/U8g2_for_Adafruit_GFX.git extern const unsigned char logoIcon[280]; #include -#include // 1.54" b/w +// #include // 1.54" b/w + +// TTGO uses GDEP015OC1 by default in the early stage, and later changed to GDEH0154D67 +#include // 1.54" b/w #include #include diff --git a/src/TTGO.h b/src/TTGO.h index 7c36299..4e212a1 100644 --- a/src/TTGO.h +++ b/src/TTGO.h @@ -689,7 +689,7 @@ private: void initTFT() { -#ifdef LILYGO_WATCH_HAS_DISPLAY +#if defined LILYGO_WATCH_HAS_DISPLAY && !defined(LILYGO_EINK_TOUCHSCREEN) #ifdef LILYGO_WATCH_2020_V1 //In the 2020V1 version, the ST7789 chip power supply