clang again

This commit is contained in:
BlitzCityDIY 2025-06-25 14:34:11 -04:00
parent 935b3dc70f
commit 6c75881d9d
2 changed files with 4 additions and 4 deletions

View file

@ -527,7 +527,7 @@ ImageReturnCode Adafruit_ImageReader::coreBMP(
tft->writePixels(dest, destidx, true); // Write it
destidx = 0; // and reset dest index
}
} else { // Canvas is simpler,
} else { // Canvas is simpler,
file.read(sdbuf, sizeof sdbuf); // just load sdbuf
} // (destidx never resets)
srcidx = 0; // Reset bmp buf index
@ -565,7 +565,7 @@ ImageReturnCode Adafruit_ImageReader::coreBMP(
}
}
} // end pixel loop
if (tft) { // Drawing to TFT?
if (tft) { // Drawing to TFT?
if (destidx) { // Any remainders?
// See notes above re: DMA
// tft->writePixels(dest, destidx, false); // Write it

View file

@ -389,7 +389,7 @@ ImageReturnCode Adafruit_ImageReader_EPD::coreBMP(
};
destidx = 0; // and reset dest index
}
} else { // Canvas is simpler,
} else { // Canvas is simpler,
file.read(sdbuf, sizeof sdbuf); // just load sdbuf
} // (destidx never resets)
srcidx = 0; // Reset bmp buf index
@ -439,7 +439,7 @@ ImageReturnCode Adafruit_ImageReader_EPD::coreBMP(
}
}
} // end pixel loop
if (epd) { // Drawing to TFT?
if (epd) { // Drawing to TFT?
if (destidx) { // Any remainders?
uint16_t index = 0;
while (index < destidx && epd_row < y + loadHeight) {