Whoops, heh I can be dumb

This commit is contained in:
XANTRONIX Development 2016-05-30 22:35:58 -05:00
parent c867aeee78
commit 5b8a26aaf9

View file

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