Fix missing brackets!

This commit is contained in:
Bodmer 2023-05-17 20:46:56 +01:00 committed by GitHub
parent 2af435e7e3
commit 5eca04671e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,9 +190,9 @@ void pioinit(uint16_t clock_div, uint16_t fract_div) {
// Find enough free space on one of the PIO's
tft_pio = pio0;
if (!pio_can_add_program(tft_pio, &tft_io_program) {
if (!pio_can_add_program(tft_pio, &tft_io_program)) {
tft_pio = pio1;
if (!pio_can_add_program(tft_pio, &tft_io_program) {
if (!pio_can_add_program(tft_pio, &tft_io_program)) {
// Serial.println("No room for PIO program!");
return;
}