File tree Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Expand file tree Collapse file tree 4 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -428,24 +428,24 @@ endchoice
428
428
choice DISPLAY_ESP32S3_KORVO2_V3
429
429
depends on BOARD_TYPE_ESP32S3_KORVO2_V3
430
430
prompt "ESP32S3_KORVO2_V3 LCD Type"
431
- default LCD_ST7789
431
+ default ESP32S3_KORVO2_V3_LCD_ST7789
432
432
help
433
433
屏幕类型选择
434
- config LCD_ST7789
434
+ config ESP32S3_KORVO2_V3_LCD_ST7789
435
435
bool "ST7789, 分辨率240*280"
436
- config LCD_ILI9341
436
+ config ESP32S3_KORVO2_V3_LCD_ILI9341
437
437
bool "ILI9341, 分辨率240*320"
438
438
endchoice
439
439
440
440
choice DISPLAY_ESP32S3_AUDIO_BOARD
441
441
depends on BOARD_TYPE_ESP32S3_AUDIO_BOARD
442
442
prompt "ESP32S3_AUDIO_BOARD LCD Type"
443
- default LCD_JD9853
443
+ default AUDIO_BOARD_LCD_JD9853
444
444
help
445
445
屏幕类型选择
446
- config LCD_JD9853
446
+ config AUDIO_BOARD_LCD_JD9853
447
447
bool "JD9853, 分辨率320*172"
448
- config LCD_ST7789
448
+ config AUDIO_BOARD_LCD_ST7789
449
449
bool "ST7789, 分辨率240*320"
450
450
endchoice
451
451
Original file line number Diff line number Diff line change 26
26
#define VOLUME_UP_BUTTON_GPIO GPIO_NUM_NC
27
27
#define VOLUME_DOWN_BUTTON_GPIO GPIO_NUM_NC
28
28
29
- #ifdef CONFIG_LCD_ST7789
29
+ #ifdef CONFIG_ESP32S3_KORVO2_V3_LCD_ST7789
30
30
#define DISPLAY_SDA_PIN GPIO_NUM_NC
31
31
#define DISPLAY_SCL_PIN GPIO_NUM_NC
32
32
#define DISPLAY_WIDTH 280
40
40
#define DISPLAY_OFFSET_Y 0
41
41
#endif
42
42
43
- #ifdef CONFIG_LCD_ILI9341
43
+ #ifdef CONFIG_ESP32S3_KORVO2_V3_LCD_ILI9341
44
44
#define LCD_TYPE_ILI9341_SERIAL
45
45
#define DISPLAY_SDA_PIN GPIO_NUM_NC
46
46
#define DISPLAY_SCL_PIN GPIO_NUM_NC
78
78
#define CAMERA_PIN_PCLK 11
79
79
80
80
#define XCLK_FREQ_HZ 20000000
81
- #endif // _BOARD_CONFIG_H_
81
+ #endif // _BOARD_CONFIG_H_
Original file line number Diff line number Diff line change 62
62
63
63
64
64
65
- #ifdef CONFIG_LCD_JD9853
65
+ #ifdef CONFIG_AUDIO_BOARD_LCD_JD9853
66
66
#define LCD_TYPE_JD9853_SERIAL
67
67
#define DISPLAY_WIDTH 320
68
68
#define DISPLAY_HEIGHT 172
76
76
#define DISPLAY_OFFSET_Y 0
77
77
#endif
78
78
79
- #ifdef CONFIG_LCD_ST7789
79
+ #ifdef CONFIG_AUDIO_BOARD_LCD_ST7789
80
80
#define LCD_TYPE_ST7789_SERIAL
81
81
#define DISPLAY_WIDTH 240
82
82
#define DISPLAY_HEIGHT 320
92
92
93
93
94
94
95
- #endif // _BOARD_CONFIG_H_
95
+ #endif // _BOARD_CONFIG_H_
Original file line number Diff line number Diff line change @@ -636,9 +636,6 @@ void LcdDisplay::SetPreviewImage(const lv_img_dsc_t* img_dsc) {
636
636
// Create the image object inside the bubble
637
637
lv_obj_t * preview_image = lv_image_create (img_bubble);
638
638
639
- // Create the image object inside the bubble
640
- lv_obj_t * preview_image = lv_image_create (img_bubble);
641
-
642
639
// Copy the image descriptor and data to avoid source data changes
643
640
lv_img_dsc_t * copied_img_dsc = (lv_img_dsc_t *)heap_caps_malloc (sizeof (lv_img_dsc_t ), MALLOC_CAP_8BIT);
644
641
if (copied_img_dsc == nullptr ) {
You can’t perform that action at this time.
0 commit comments