From 5eca04671e46f7cda5885645f36c5b288006ffc4 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Wed, 17 May 2023 20:46:56 +0100 Subject: [PATCH] Fix missing brackets! --- Processors/TFT_eSPI_RP2040.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Processors/TFT_eSPI_RP2040.c b/Processors/TFT_eSPI_RP2040.c index 45586a7..d557c9e 100644 --- a/Processors/TFT_eSPI_RP2040.c +++ b/Processors/TFT_eSPI_RP2040.c @@ -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; }