Update Floyd_Steinberg_BMP.ino

Correct compile error.
This commit is contained in:
Bodmer
2019-09-28 21:54:42 +01:00
committed by GitHub
parent 4f68cf90e8
commit 0769e49718

View File

@@ -156,8 +156,8 @@ void drawFSBmp(const char *filename, int16_t x, int16_t y) {
*(qptr ) += (qerr>>2) + qerr16; // Add 5/16 of error *(qptr ) += (qerr>>2) + qerr16; // Add 5/16 of error
*(qptr + 1) += qerr16; // Add 1/16 of error *(qptr + 1) += qerr16; // Add 1/16 of error
*bptr++; // Move along pixel and error buffers bptr++; // Move along pixel and error buffers
*qptr++; qptr++;
dx++; // Move coordinate along dx++; // Move coordinate along
} }
y--; y--;