X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fdrivers%2Fao_vga.c;h=909e31098004a25879949d69992da20b7b7525ea;hp=2d05d522d46d24042cabd38d2ba2cb56ff90e2c8;hb=HEAD;hpb=6b39d3093c3b87689717bb03988d160473c53c64 diff --git a/src/drivers/ao_vga.c b/src/drivers/ao_vga.c index 2d05d522..909e3109 100644 --- a/src/drivers/ao_vga.c +++ b/src/drivers/ao_vga.c @@ -139,13 +139,13 @@ ao_vga_init(void) (0 << STM_SPI_CR1_CRCEN) | /* CRC disabled */ (0 << STM_SPI_CR1_CRCNEXT) | (1 << STM_SPI_CR1_DFF) | - (0 << STM_SPI_CR1_RXONLY) | + (0 << STM_SPI_CR1_RXONLY) | /* transmit, not receive */ (0 << STM_SPI_CR1_SSM) | /* Software SS handling */ (1 << STM_SPI_CR1_SSI) | /* ... */ (1 << STM_SPI_CR1_LSBFIRST) | /* Little endian */ (1 << STM_SPI_CR1_SPE) | /* Enable SPI unit */ (0 << STM_SPI_CR1_BR) | /* baud rate to pclk/2 */ - (0 << STM_SPI_CR1_MSTR) | + (0 << STM_SPI_CR1_MSTR) | /* slave */ (0 << STM_SPI_CR1_CPOL) | /* Format 0 */ (0 << STM_SPI_CR1_CPHA)); stm_spi1.cr2 = ((0 << STM_SPI_CR2_TXEIE) |