fixed ttgotdongledisplays3 display errors

This commit is contained in:
Tim Huyeng 2022-11-04 15:51:29 +01:00
parent e87b7be7d2
commit c2d99bc858
3 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@ lib_deps_all =
bblanchon/ArduinoJson @ ^6 bblanchon/ArduinoJson @ ^6
spacehuhn/SimpleButton spacehuhn/SimpleButton
256dpi/MQTT @ ^2.5.0 256dpi/MQTT @ ^2.5.0
ricmoo/QRCode @ ^0.0.1
build_flags_basic = build_flags_basic =
-include "src/paxcounter.conf" -include "src/paxcounter.conf"
'-DCORE_DEBUG_LEVEL=${common.debug_level}' '-DCORE_DEBUG_LEVEL=${common.debug_level}'

View File

@ -1,6 +1,6 @@
// clang-format off // clang-format off
// upload_speed 1500000 // upload_speed 1500000
// board ESP32-S3-DevKitC-1 // board esp32-s3-devkitc-1
#ifndef _TTGOTDISPLAYS3_H #ifndef _TTGOTDISPLAYS3_H
#define _TTGOTDISPLAYS3_H #define _TTGOTDISPLAYS3_H

View File

@ -16,7 +16,7 @@
#define SDCARD_SLOTWIDTH 4 // 4-line interface #define SDCARD_SLOTWIDTH 4 // 4-line interface
#define HAS_DISPLAY 2 // TFT-LCD #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_FLIP 1 // use if display is rotated
#define MY_DISPLAY_WIDTH 80 #define MY_DISPLAY_WIDTH 80
#define MY_DISPLAY_HEIGHT 160 #define MY_DISPLAY_HEIGHT 160