mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 10:42:49 +00:00
Get t-deck working with both UIs for tft build
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
|
||||
#define TFT_CS 12
|
||||
#ifndef HAS_TFT // for TFT-UI the definitions are in device-ui
|
||||
#define BUTTON_PIN 0
|
||||
|
||||
// ST7789 TFT LCD
|
||||
@@ -24,7 +23,6 @@
|
||||
#define SCREEN_ROTATE
|
||||
#define SCREEN_TRANSITION_FRAMERATE 5
|
||||
#define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness
|
||||
#endif
|
||||
|
||||
#define HAS_TOUCHSCREEN 1
|
||||
#define SCREEN_TOUCH_INT 16
|
||||
@@ -34,10 +32,9 @@
|
||||
#define USE_POWERSAVE
|
||||
#define SLEEP_TIME 120
|
||||
|
||||
#ifndef HAS_TFT
|
||||
#define BUTTON_PIN 0
|
||||
// #define BUTTON_NEED_PULLUP
|
||||
#endif
|
||||
|
||||
#define GPS_DEFAULT_NOT_PRESENT 1
|
||||
#define GPS_RX_PIN 44
|
||||
#define GPS_TX_PIN 43
|
||||
|
||||
Reference in New Issue
Block a user