Display orientation setting (#38)
- Implemented display orientation in Display app - Increased LVGL task stack for T-Deck
This commit is contained in:
committed by
GitHub
parent
03aa8f62ba
commit
6dc8b897d6
@@ -31,16 +31,15 @@
|
||||
|
||||
// LVGL
|
||||
// The minimum task stack seems to be about 3500, but that crashes the wifi app in some scenarios
|
||||
#define TDECK_LVGL_TASK_STACK_DEPTH 4000
|
||||
// At 4000, it crashes when the fps renderer is available
|
||||
#define TDECK_LVGL_TASK_STACK_DEPTH 8192
|
||||
|
||||
// Dipslay backlight (PWM)
|
||||
#define TDECK_LCD_BACKLIGHT_LEDC_TIMER LEDC_TIMER_0
|
||||
#define TDECK_LCD_BACKLIGHT_LEDC_MODE LEDC_LOW_SPEED_MODE
|
||||
#define TDECK_LCD_BACKLIGHT_LEDC_OUTPUT_IO TDECK_LCD_PIN_BACKLIGHT
|
||||
#define TDECK_LCD_BACKLIGHT_LEDC_CHANNEL LEDC_CHANNEL_0
|
||||
#define TDECK_LCD_BACKLIGHT_LEDC_DUTY_RES LEDC_TIMER_8_BIT
|
||||
#define TDECK_LCD_BACKLIGHT_LEDC_DUTY (191)
|
||||
#define TDECK_LCD_BACKLIGHT_LEDC_FREQUENCY (1000)
|
||||
#define TDECK_LCD_BACKLIGHT_LEDC_FREQUENCY (4000)
|
||||
|
||||
// Touch (GT911)
|
||||
#define TDECK_TOUCH_I2C_BUS_HANDLE TDECK_I2C_BUS_HANDLE
|
||||
|
||||
Reference in New Issue
Block a user