mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-02 20:24:41 +02:00
Fix missing brackets!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user