[avr] switch avr to SPI mode 2 (inverted SCK) for new level-shifer
This commit is contained in:
parent
f99ea292ff
commit
a1b981e4f8
|
@ -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(;;) {
|
||||
|
|
Loading…
Reference in New Issue