From 3499d6dea4d49bdc90cb4dc9f5c2525f17cf1863 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Mon, 16 May 2022 21:50:17 +0200 Subject: [PATCH] fpga_test: Simplify LCD handover It's all handled by the deinit Signed-off-by: Sylvain Munaut --- main/fpga_test.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main/fpga_test.c b/main/fpga_test.c index dbacc90..7650e0a 100644 --- a/main/fpga_test.c +++ b/main/fpga_test.c @@ -156,12 +156,6 @@ void fpga_test(ILI9341* ili9341, ICE40* ice40, xQueueHandle buttonQueue) { reload_fpga = false; printf("LCD deinit...\n"); ili9341_deinit(ili9341); - printf("LCD deselect...\n"); - ili9341_select(ili9341, false); - printf("Wait...\n"); - vTaskDelay(200 / portTICK_PERIOD_MS); - printf("LCD select...\n"); - ili9341_select(ili9341, true); printf("FPGA load...\n"); if (load_old_bitstream) {