From c2d99bc85861f29e3101557bb8a0de3dd701440c Mon Sep 17 00:00:00 2001 From: Tim Huyeng Date: Fri, 4 Nov 2022 15:51:29 +0100 Subject: [PATCH] fixed ttgotdongledisplays3 display errors --- platformio_orig_s3-usb-stick.ini | 1 + src/hal/ttgotdisplays3.h | 2 +- src/hal/ttgotdongledisplays3.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/platformio_orig_s3-usb-stick.ini b/platformio_orig_s3-usb-stick.ini index 6a1b852b..b51b27cc 100644 --- a/platformio_orig_s3-usb-stick.ini +++ b/platformio_orig_s3-usb-stick.ini @@ -30,6 +30,7 @@ lib_deps_all = bblanchon/ArduinoJson @ ^6 spacehuhn/SimpleButton 256dpi/MQTT @ ^2.5.0 + ricmoo/QRCode @ ^0.0.1 build_flags_basic = -include "src/paxcounter.conf" '-DCORE_DEBUG_LEVEL=${common.debug_level}' diff --git a/src/hal/ttgotdisplays3.h b/src/hal/ttgotdisplays3.h index 0c8f13aa..108dae1e 100644 --- a/src/hal/ttgotdisplays3.h +++ b/src/hal/ttgotdisplays3.h @@ -1,6 +1,6 @@ // clang-format off // upload_speed 1500000 -// board ESP32-S3-DevKitC-1 +// board esp32-s3-devkitc-1 #ifndef _TTGOTDISPLAYS3_H #define _TTGOTDISPLAYS3_H diff --git a/src/hal/ttgotdongledisplays3.h b/src/hal/ttgotdongledisplays3.h index f022ae86..e198275c 100644 --- a/src/hal/ttgotdongledisplays3.h +++ b/src/hal/ttgotdongledisplays3.h @@ -16,7 +16,7 @@ #define SDCARD_SLOTWIDTH 4 // 4-line interface #define HAS_DISPLAY 2 // TFT-LCD -#define TFT_TYPE DISPLAY_TDONGLE_S3 +#define TFT_TYPE DISPLAY_T_DISPLAY_S3 #define MY_DISPLAY_FLIP 1 // use if display is rotated #define MY_DISPLAY_WIDTH 80 #define MY_DISPLAY_HEIGHT 160