Meh. Cruft.
This commit is contained in:
parent
373ad06c45
commit
c66bfade8f
1 changed files with 0 additions and 9 deletions
|
@ -75,8 +75,6 @@ ISR(SPI_STC_vect) {
|
||||||
if (buffer.cur < buffer.len) {
|
if (buffer.cur < buffer.len) {
|
||||||
SPDR = buffer.data[buffer.cur++];
|
SPDR = buffer.data[buffer.cur++];
|
||||||
} else {
|
} else {
|
||||||
SPDR = 0xff;
|
|
||||||
|
|
||||||
buffer.len = 0;
|
buffer.len = 0;
|
||||||
buffer.cur = 0;
|
buffer.cur = 0;
|
||||||
buffer.read = 0;
|
buffer.read = 0;
|
||||||
|
@ -158,13 +156,6 @@ static void setup_clock_external() {
|
||||||
buffer.read = 0;
|
buffer.read = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*static void snooze() {
|
|
||||||
set_sleep_mode(mode);
|
|
||||||
sleep_enable();
|
|
||||||
sleep_mode();
|
|
||||||
sleep_disable();
|
|
||||||
}*/
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
tabby_command state = TABBY_COMMAND_NONE;
|
tabby_command state = TABBY_COMMAND_NONE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue