Whoops
This commit is contained in:
parent
be7b8d0f66
commit
4b2ee1ccea
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ 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);
|
uart_putchar(SPDR, NULL);
|
||||||
|
|
||||||
if (buffer.cur < buffer.read) {
|
if (buffer.cur < buffer.read) {
|
||||||
SPDR = buffer.data[buffer.cur++];
|
SPDR = buffer.data[buffer.cur++];
|
||||||
|
|
Loading…
Add table
Reference in a new issue