Skip to content

Commit

Permalink
Add DONE reply for uart_loader_test()
Browse files Browse the repository at this point in the history
  • Loading branch information
vitek committed Apr 19, 2011
1 parent 76d4771 commit f8c2769
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,6 @@ static void uart_loader_test()
unsigned int page;
unsigned int pos;

// SPSR |= 1 << SPI2X;
// SPCR = (SPCR & ~(3 << SPR0)) | (1 << SPR0);

at45_read_start(0);

cli();
Expand All @@ -170,11 +167,13 @@ static void uart_loader_test()
}
sei();


SPSR &= ~(1 << SPI2X);
SPCR = (SPCR & ~(3 << SPR0));

at45_read_stop();


uart0_puts("DONE\r\n");
}

#define TIMER_RING_TIMEOUT 2
Expand Down

0 comments on commit f8c2769

Please sign in to comment.