diff --git a/mote/v2/avr/main.c b/mote/v2/avr/main.c index dc72f5b..ba8e793 100644 --- a/mote/v2/avr/main.c +++ b/mote/v2/avr/main.c @@ -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(;;) {