Gotta shift that in before the deadline, yo

This commit is contained in:
XANTRONIX Development 2016-05-30 22:27:58 -05:00
parent c34a79a9fd
commit c867aeee78

View file

@ -66,11 +66,11 @@ ISR(TIMER0_COMPB_vect) {
* SPI byte receipt interrupt vector
*/
ISR(SPI_STC_vect) {
uart_putchar(SPDR, NULL);
if (buffer.cur < buffer.read) {
SPDR = buffer.data[buffer.cur++];
}
uart_putchar(SPDR, NULL);
}
static void setup_clock_internal(tabby_clock_speed speed) {