diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-10-20 14:05:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-10-20 14:05:56 +0000 |
commit | 9ad896685124fb84348254f9bafe4fa5f50d9f7b (patch) | |
tree | 48cdf1a94f9920fa25e7ad4744cd5befe6edcc60 /nuttx/arch/arm/src/imx | |
parent | 74ec6c524d7290ebae95c7f2cb126668fdbebbd5 (diff) | |
download | px4-nuttx-9ad896685124fb84348254f9bafe4fa5f50d9f7b.tar.gz px4-nuttx-9ad896685124fb84348254f9bafe4fa5f50d9f7b.tar.bz2 px4-nuttx-9ad896685124fb84348254f9bafe4fa5f50d9f7b.zip |
Extend SPI interface to better handle multiple devices on same SPI bus
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2162 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/imx')
-rwxr-xr-x | nuttx/arch/arm/src/imx/imx_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/imx/imx_spi.c b/nuttx/arch/arm/src/imx/imx_spi.c index f1b3262a0..46cfb6913 100755 --- a/nuttx/arch/arm/src/imx/imx_spi.c +++ b/nuttx/arch/arm/src/imx/imx_spi.c @@ -184,6 +184,7 @@ static void spi_recvblock(FAR struct spi_dev_s *dev, FAR void *buffer, size_t static const struct spi_ops_s g_spiops = { + .lock = 0, /* Not yet implemented */ .select = imx_spiselect, /* Provided externally by board logic */ .setfrequency = spi_setfrequency, .setmode = spi_setmode, |