mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
setmode method is optional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1674 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#define SPI_SETMODE(d,m) ((d)->ops->mode(d,m))
|
#define SPI_SETMODE(d,m) ((d)->ops->mode ? (d)->ops->mode(d,m) : (void))
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: SPI_STATUS
|
* Name: SPI_STATUS
|
||||||
|
|||||||
Reference in New Issue
Block a user