Fixed init for the JAYCAR screen
The ini for the JAYCAR screen didn't correctly set the column and row start. This has been corrected so it matches the default landscape mode.
This commit is contained in:
parent
5b1ee1361c
commit
c6e0fc6992
9
st7735.c
9
st7735.c
|
@ -135,7 +135,16 @@ void st7735_init() {
|
|||
st7735_height = st7735_default_height_144;
|
||||
st7735_column_start = 2;
|
||||
st7735_row_start = 3;
|
||||
st7735_run_command_list(st7735_red_init1);
|
||||
st7735_run_command_list(st7735_red_init_green1442);
|
||||
st7735_run_command_list(st7735_red_init3);
|
||||
st7735_width = st7735_default_width;
|
||||
st7735_height = st7735_default_height_144;
|
||||
break;
|
||||
case ST7735_RED144_JAYCAR:
|
||||
st7735_height = st7735_default_height_144;
|
||||
st7735_column_start = 32;
|
||||
st7735_row_start = 0;
|
||||
st7735_run_command_list(st7735_red_init1);
|
||||
st7735_run_command_list(st7735_red_init_green1442);
|
||||
st7735_run_command_list(st7735_red_init3);
|
||||
|
|
Loading…
Reference in New Issue