Skip to content
Snippets Groups Projects
Commit d044d4f6 authored by patacongo's avatar patacongo
Browse files

setmode method is optional

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1674 42af7a65-404d-4744-a932-0658087f49c3
parent bb548768
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment