Because people will nitpick anything
This commit is contained in:
parent
2906e26df5
commit
0a92613528
2 changed files with 4 additions and 14 deletions
|
@ -6,14 +6,9 @@
|
||||||
#include <tabby/avr/uart.h>
|
#include <tabby/avr/uart.h>
|
||||||
#include <tabby/avr.h>
|
#include <tabby/avr.h>
|
||||||
|
|
||||||
static volatile tabby_printer_packet header = {
|
static volatile tabby_printer_packet header;
|
||||||
.type = 0,
|
|
||||||
.compression = 0,
|
|
||||||
.size = 0
|
|
||||||
};
|
|
||||||
|
|
||||||
static volatile uint16_t i = 0,
|
static volatile uint16_t i, b;
|
||||||
b = 0;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SPI byte receipt interrupt vector
|
* SPI byte receipt interrupt vector
|
||||||
|
|
|
@ -7,17 +7,12 @@
|
||||||
#include <tabby/avr/uart.h>
|
#include <tabby/avr/uart.h>
|
||||||
#include <tabby/avr.h>
|
#include <tabby/avr.h>
|
||||||
|
|
||||||
static tabby_printer_packet header = {
|
static tabby_printer_packet header;
|
||||||
.type = 0,
|
|
||||||
.compression = 0,
|
|
||||||
.size = 0
|
|
||||||
};
|
|
||||||
|
|
||||||
static tabby_printer_response response;
|
static tabby_printer_response response;
|
||||||
|
|
||||||
static uint8_t body[TABBY_PRINTER_PACKET_MAX_SIZE];
|
static uint8_t body[TABBY_PRINTER_PACKET_MAX_SIZE];
|
||||||
|
|
||||||
static uint16_t sum = 0x0000;
|
static uint16_t sum;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* So like, we're abusing pins here. So badly, it's beyond. So here's
|
* So like, we're abusing pins here. So badly, it's beyond. So here's
|
||||||
|
|
Loading…
Add table
Reference in a new issue