[avr] switch avr to SPI mode 2 (inverted SCK) for new level-shifer

This commit is contained in:
Bart Van Der Meerssche 2011-02-03 12:20:24 +01:00
parent f99ea292ff
commit a1b981e4f8
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ int main(void)
// initialize the UART hardware and buffers
uartInit();
// initialize the SPI in slave mode
setup_spi(SPI_MODE_0, SPI_MSB, SPI_INTERRUPT, SPI_SLAVE);
setup_spi(SPI_MODE_2, SPI_MSB, SPI_INTERRUPT, SPI_SLAVE);
for(;;) {