fix(platform): move ST7789 params to Kconfig defaults

This commit is contained in:
admin
2026-02-28 14:43:02 +08:00
parent a549989332
commit 47a4aed0c4
5 changed files with 131 additions and 38 deletions

View File

@@ -35,6 +35,8 @@ typedef struct {
size_t max_transfer_sz;
uint16_t h_res;
uint16_t v_res;
uint16_t x_gap;
uint16_t y_gap;
uint8_t madctl_val;
bool invert_color;
bool swap_color_bytes;
@@ -58,6 +60,8 @@ typedef struct {
.max_transfer_sz = 0, \
.h_res = 320, \
.v_res = 240, \
.x_gap = 0, \
.y_gap = 0, \
.madctl_val = ST7789P3_MADCTL_MX | ST7789P3_MADCTL_MV, \
.invert_color = false, \
.swap_color_bytes = false, \