From 8cd0284284da5159c5e67c7dd164562a5a2e2154 Mon Sep 17 00:00:00 2001 From: Phillip Burgess Date: Thu, 7 Jul 2022 19:53:34 -0700 Subject: [PATCH] Remove set_gap() calls from NT35510 and ILI9341 --- .../lcd/i80_controller/main/i80_controller_example_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/peripherals/lcd/i80_controller/main/i80_controller_example_main.c b/examples/peripherals/lcd/i80_controller/main/i80_controller_example_main.c index a6cc0eefbe..8050939dc8 100644 --- a/examples/peripherals/lcd/i80_controller/main/i80_controller_example_main.c +++ b/examples/peripherals/lcd/i80_controller/main/i80_controller_example_main.c @@ -210,11 +210,9 @@ void app_main(void) #elif CONFIG_EXAMPLE_LCD_I80_CONTROLLER_NT35510 esp_lcd_panel_swap_xy(panel_handle, true); esp_lcd_panel_mirror(panel_handle, true, false); - esp_lcd_panel_set_gap(panel_handle, 0, 20); #elif CONFIG_EXAMPLE_LCD_I80_CONTROLLER_ILI9341 esp_lcd_panel_swap_xy(panel_handle, true); esp_lcd_panel_invert_color(panel_handle, false); - esp_lcd_panel_set_gap(panel_handle, 0, 0); // ILI9341 is very similar to ST7789 and shares the same driver. // Anything unconventional (such as this custom gamma table) can // be issued here in user code and need not modify the driver.