Whoops
This commit is contained in:
parent
be84cecfeb
commit
c18eb40c46
2 changed files with 4 additions and 3 deletions
|
@ -69,9 +69,9 @@ ISR(SPI_STC_vect) {
|
|||
|
||||
if (tabby_avr_printer_packet_toolarge(header.type, header.size)) {
|
||||
i = 0;
|
||||
}
|
||||
|
||||
} else {
|
||||
i++;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -113,13 +113,14 @@ int main() {
|
|||
|
||||
case 5: {
|
||||
header.size |= c << 8;
|
||||
i++;
|
||||
|
||||
if (tabby_avr_printer_packet_toolarge(header.type,
|
||||
header.size)) {
|
||||
i = 0;
|
||||
b = 0;
|
||||
sheet_offset = 0;
|
||||
} else {
|
||||
i++;
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue