Refactor readRow to readNextRow (we anyways ignored rowY param)

This commit is contained in:
Jonas Diemer
2026-01-04 14:15:33 +01:00
parent 59e3ac28f1
commit 3de07b925c
3 changed files with 9 additions and 15 deletions

View File

@@ -196,7 +196,7 @@ void GfxRenderer::drawBitmap(const Bitmap& bitmap, const int x, const int y, con
break;
}
if (bitmap.readRow(outputRow, rowBytes, bmpY) != BmpReaderError::Ok) {
if (bitmap.readNextRow(outputRow, rowBytes) != BmpReaderError::Ok) {
Serial.printf("[%lu] [GFX] Failed to read row %d from bitmap\n", millis(), bmpY);
free(outputRow);
free(rowBytes);