Unverified Commit 0769e497 authored by Bodmer's avatar Bodmer Committed by GitHub

Update Floyd_Steinberg_BMP.ino

Correct compile error.
parent 4f68cf90
...@@ -156,8 +156,8 @@ void drawFSBmp(const char *filename, int16_t x, int16_t y) { ...@@ -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--;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment