Print halfway usable images

This commit is contained in:
fruchti 2018-08-23 12:49:29 +02:00
parent b2b3931e81
commit 804a11cb10
5 changed files with 20 additions and 14 deletions

View file

@ -55,7 +55,7 @@ void Print_Image(const uint8_t *data, int width, int height)
memcpy(Print_Buffer + i * LTP1245_LINE_BYTES,
data + currentline * width / 8,
width / 8);
//memset(Print_Buffer + width / 8, 0, LTP1245_LINE_BYTES - width / 8);
memset(Print_Buffer + width / 8, 0, LTP1245_LINE_BYTES - width / 8);
currentline++;
}