Just a little less nuts
This commit is contained in:
parent
c18eb40c46
commit
d5aea747d0
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ ISR(SPI_STC_vect) {
|
||||||
case 5: {
|
case 5: {
|
||||||
header.size |= in << 8;
|
header.size |= in << 8;
|
||||||
|
|
||||||
if (tabby_avr_printer_packet_toolarge(header.type, header.size)) {
|
if (header.size > TABBY_PRINTER_PACKET_MAX_SIZE) {
|
||||||
i = 0;
|
i = 0;
|
||||||
} else {
|
} else {
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Add table
Reference in a new issue