mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-03 20:54:42 +02:00
Update Floyd_Steinberg_BMP.ino
Correct compile error.
This commit is contained in:
@@ -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--;
|
||||||
|
Reference in New Issue
Block a user