Remove GPIO initialization from display init, they must be initialized by the user in main.c

This commit is contained in:
C47D 2021-08-25 15:16:47 -05:00
parent 7cebfdd671
commit 413721182c

View file

@ -49,8 +49,6 @@ static void st7789_reset(void);
**********************/ **********************/
void st7789_init(void) void st7789_init(void)
{ {
display_hal_init_io();
lcd_init_cmd_t st7789_init_cmds[] = { lcd_init_cmd_t st7789_init_cmds[] = {
{0xCF, {0x00, 0x83, 0X30}, 3}, {0xCF, {0x00, 0x83, 0X30}, 3},
{0xED, {0x64, 0x03, 0X12, 0X81}, 4}, {0xED, {0x64, 0x03, 0X12, 0X81}, 4},