Merge pull request #41 from badgeteam/renze/i2c

FPGA bugfix (and use component branches with some i2c fixes in them)
This commit is contained in:
Renze Nicolai 2022-05-23 20:51:37 +02:00 committed by GitHub
commit 1b0fd5da10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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");