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:
d2ced53
)
spi.c: fix identation
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Wed, 19 Nov 2014 23:45:58 +0000
(23:45 +0000)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Wed, 19 Nov 2014 23:46:33 +0000
(23:46 +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
c416083
..
77a6621
100644
(file)
--- a/
src/spi/spi.c
+++ b/
src/spi/spi.c
@@
-113,7
+113,7
@@
mraa_spi_init(int bus)
char path[MAX_SIZE];
sprintf(path, "/dev/spidev%u.%u",
- plat->spi_bus[bus].bus_id, plat->spi_bus[bus].slave_s);
+
plat->spi_bus[bus].bus_id, plat->spi_bus[bus].slave_s);
dev->devfd = open(path, O_RDWR);
if (dev->devfd < 0) {