Gotta shift that in before the deadline, yo
This commit is contained in:
parent
c34a79a9fd
commit
c867aeee78
1 changed files with 2 additions and 2 deletions
|
@ -66,11 +66,11 @@ ISR(TIMER0_COMPB_vect) {
|
||||||
* SPI byte receipt interrupt vector
|
* SPI byte receipt interrupt vector
|
||||||
*/
|
*/
|
||||||
ISR(SPI_STC_vect) {
|
ISR(SPI_STC_vect) {
|
||||||
uart_putchar(SPDR, NULL);
|
|
||||||
|
|
||||||
if (buffer.cur < buffer.read) {
|
if (buffer.cur < buffer.read) {
|
||||||
SPDR = buffer.data[buffer.cur++];
|
SPDR = buffer.data[buffer.cur++];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uart_putchar(SPDR, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setup_clock_internal(tabby_clock_speed speed) {
|
static void setup_clock_internal(tabby_clock_speed speed) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue