fix(platform): move ST7789 params to Kconfig defaults
This commit is contained in:
@@ -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, \
|
||||
|
||||
Reference in New Issue
Block a user