Compare commits
4 Commits
6a593f2a40
...
8658e5c9fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
8658e5c9fd
|
|||
|
99b355b033
|
|||
|
fec8ee231b
|
|||
|
|
349036bfaf
|
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -6,7 +6,7 @@
|
|||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "ptprnt_debug",
|
"name": "ptprnt_debug",
|
||||||
"type": "cppdbg",
|
"type": "lldb",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/builddir/ptprnt",
|
"program": "${workspaceFolder}/builddir/ptprnt",
|
||||||
"args": [
|
"args": [
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ graphics::Bitmap<graphics::ALPHA8> FakePrinter::simulatePrinting(const graphics:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Now "print" this column by unpacking the bytes back to pixels
|
// Now "print" this column by unpacking the bytes back to pixels
|
||||||
// This simulates the printer head physically printing this column
|
|
||||||
for (size_t byteIdx = 0; byteIdx < columnBytes.size(); byteIdx++) {
|
for (size_t byteIdx = 0; byteIdx < columnBytes.size(); byteIdx++) {
|
||||||
uint8_t byte = columnBytes[byteIdx];
|
uint8_t byte = columnBytes[byteIdx];
|
||||||
uint32_t baseRow = byteIdx * 8;
|
uint32_t baseRow = byteIdx * 8;
|
||||||
|
|||||||
Reference in New Issue
Block a user