mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2024-09-21 02:17:13 +00:00
Fix missing brackets!
This commit is contained in:
parent
2af435e7e3
commit
5eca04671e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user