mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-03 20:54:42 +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
|
// 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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user