From 014be5e54a58bc6748395b62eefdfd1df8ce5198 Mon Sep 17 00:00:00 2001 From: lewis he Date: Thu, 27 Aug 2020 11:52:44 +0800 Subject: [PATCH] Compatible with MY-TTGO-TWATCH https://github.com/sharandac/My-TTGO-Watch --- src/TTGO.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TTGO.h b/src/TTGO.h index 2e3d94c..f003e72 100644 --- a/src/TTGO.h +++ b/src/TTGO.h @@ -936,10 +936,11 @@ private: Ticker *tickTicker = nullptr; #endif /*LILYGO_WATCH_LVGL*/ +public: /*Compatible with MY-TTGO-TWATCH https://github.com/sharandac/My-TTGO-Watch*/ #ifdef LILYGO_WATCH_HAS_TOUCH FT5206_Class *touch = nullptr; #endif - +private: #if defined(LILYGO_WATCH_LVGL) && defined(LILYGO_WATCH_HAS_DISPLAY) lv_disp_drv_t disp_drv; #endif