mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-06-07 16:46:27 +00:00
add all 9 rows of pin data
This commit is contained in:
parent
6491cd6a9b
commit
94dfcdf480
|
@ -43,7 +43,7 @@ void OpenCVPrinter::update()
|
||||||
void OpenCVPrinter::addLine(uint8_t *rowOfBits)
|
void OpenCVPrinter::addLine(uint8_t *rowOfBits)
|
||||||
{
|
{
|
||||||
isDirty = true;
|
isDirty = true;
|
||||||
for (int yoff=0; yoff<8; yoff++) {
|
for (int yoff=0; yoff<9; yoff++) {
|
||||||
// 960 pixels == 120 bytes -- FIXME
|
// 960 pixels == 120 bytes -- FIXME
|
||||||
for (int i=0; i<(NATIVEWIDTH/8); i++) {
|
for (int i=0; i<(NATIVEWIDTH/8); i++) {
|
||||||
uint8_t bv = rowOfBits[yoff*120+i];
|
uint8_t bv = rowOfBits[yoff*120+i];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user