altos: Add STM USB driver
[fw/altos] / src / stm / ao_spi_stm.c
index ecf7934f1f43b6a7df8e6d9035a2be4ef802659a..be24ebcfd1446cc16f51dbceebe96d6cd0f17b81 100644 (file)
@@ -167,7 +167,7 @@ ao_spi_get(uint8_t spi_index)
                        (0 << STM_SPI_CR1_RXONLY) |
                        (1 << STM_SPI_CR1_SSM) |                        /* Software SS handling */
                        (1 << STM_SPI_CR1_SSI) |                        /*  ... */
-                       (0 << STM_SPI_CR1_LSBFIRST) |                   /* Little endian */
+                       (0 << STM_SPI_CR1_LSBFIRST) |                   /* Big endian */
                        (1 << STM_SPI_CR1_SPE) |                        /* Enable SPI unit */
                        (STM_SPI_CR1_BR_PCLK_4 << STM_SPI_CR1_BR) |     /* baud rate to pclk/4 */
                        (1 << STM_SPI_CR1_MSTR) |