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:
Jack Massey 2019-02-28 21:31:38 +10:00
parent 5b1ee1361c
commit c6e0fc6992
1 changed files with 9 additions and 0 deletions

View File

@ -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);