diff options
| author | Keith Packard <keithp@keithp.com> | 2017-04-09 12:54:57 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-04-09 12:54:57 -0700 | 
| commit | 83c1e4e8ca684f555cba252efd3882f811d8e154 (patch) | |
| tree | 7d0e912e10014c1c810b9a55da5f618c50b61396 /src/drivers/ao_vga.c | |
| parent | 24cd5dd33ccf65c1b277911c460a89ec2b52e421 (diff) | |
altos: Document a few more SPI mode bits in VGA driver
Just comment changes
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_vga.c')
| -rw-r--r-- | src/drivers/ao_vga.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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) | | 
