Fixes and tests

This commit is contained in:
Renze Nicolai 2022-05-20 01:23:53 +02:00
parent e2e7f797dd
commit af2a037d7c
4 changed files with 5 additions and 3 deletions

@ -1 +1 @@
Subproject commit aa0214c069b1b05a0392331c89dfa202a0fa61b1 Subproject commit 931b0bb849668a31bd5ab29e1e7b347ba986b539

@ -1 +1 @@
Subproject commit b5b64602231a80708bb016d92c67c878ec4d226d Subproject commit a7775f401057b64fad50476aa418eb046815f9a0

@ -1 +1 @@
Subproject commit 108625c65834d6cdfef60f4725be8c53c3ad6d61 Subproject commit abdc7b235095e5914a7f7855796ac4a0f922c53c

View file

@ -184,6 +184,8 @@ void fpga_test(ILI9341* ili9341, ICE40* ice40, xQueueHandle buttonQueue) {
} }
if (res != ESP_OK) { if (res != ESP_OK) {
printf("Failed to load app bitstream into FPGA (%d)\n", res); printf("Failed to load app bitstream into FPGA (%d)\n", res);
ice40_disable(ice40);
ili9341_init(ili9341);
return; return;
} else { } else {
printf("Bitstream loaded succesfully!\n"); printf("Bitstream loaded succesfully!\n");