mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-12-22 23:26:36 +00:00
fpga_test: Simplify LCD handover
It's all handled by the deinit Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
7ae0bae773
commit
3499d6dea4
1 changed files with 0 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue