Update TFT_eSPI_RP2040.c

This commit is contained in:
Bodmer
2023-05-16 23:46:14 +01:00
parent d846daca8b
commit 2af435e7e3

View File

@@ -193,8 +193,7 @@ void pioinit(uint16_t clock_div, uint16_t fract_div) {
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!");
while(1) delay(100);
return; return;
} }
} }