Fix C++ dependencies, cleaning, ..
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4025 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
38e862635c
commit
d6cfe71a23
@ -816,6 +816,10 @@ FAR struct spi_dev_s *up_spiinitialize(int port)
|
||||
sam3u_configgpio(GPIO_SPI0_MOSI);
|
||||
sam3u_configgpio(GPIO_SPI0_SPCK);
|
||||
|
||||
/* Disable SPI clocking */
|
||||
|
||||
putreg32(SPI_CR_SPIDIS, SAM3U_SPI_CR);
|
||||
|
||||
/* Execute a software reset of the SPI (twice) */
|
||||
|
||||
putreg32(SPI_CR_SWRST, SAM3U_SPI_CR);
|
||||
|
Loading…
x
Reference in New Issue
Block a user