mirror of
https://github.com/pdewacht/brlaser
synced 2025-07-21 08:09:46 +02:00
Reduce max block size to 64 lines (#40)
This fixes HL-1210W, maybe other HL printers as well?
This commit is contained in:
@ -37,10 +37,10 @@ const lest::test specification[] = {
|
||||
EXPECT(!b.empty());
|
||||
},
|
||||
|
||||
"A block can contain 128 lines",
|
||||
"A block can contain 64 lines",
|
||||
[] {
|
||||
block b;
|
||||
for (int i = 0; i < 128; ++i) {
|
||||
for (int i = 0; i < 64; ++i) {
|
||||
EXPECT(b.line_fits(1));
|
||||
b.add_line(vec(1));
|
||||
}
|
||||
|
Reference in New Issue
Block a user