Fix missing brackets!

This commit is contained in:
Bodmer
2023-05-17 20:46:56 +01:00
committed by GitHub
parent 2af435e7e3
commit 5eca04671e

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 // Find enough free space on one of the PIO's
tft_pio = pio0; 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; 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!"); // Serial.println("No room for PIO program!");
return; return;
} }