projects
/
contrib
/
mraa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64f377c
)
spi.c: change spi mode to a uint32_t
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Fri, 27 Feb 2015 16:14:19 +0000
(16:14 +0000)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Fri, 27 Feb 2015 16:14:19 +0000
(16:14 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/spi/spi.c
patch
|
blob
|
history
diff --git
a/src/spi/spi.c
b/src/spi/spi.c
index
89fbe67
..
4d9e2b0
100644
(file)
--- a/
src/spi/spi.c
+++ b/
src/spi/spi.c
@@
-42,7
+42,7
@@
struct _spi {
/*@{*/
int devfd; /**< File descriptor to SPI Device */
-
in
t mode; /**< Spi mode see spidev.h */
+
uint32_
t mode; /**< Spi mode see spidev.h */
int clock; /**< clock to run transactions at */
mraa_boolean_t lsb; /**< least significant bit mode */
unsigned int bpw; /**< Bits per word */