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:
d4b32ec
)
iio.c: Fix indentation
v0.9.0
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Mon, 21 Dec 2015 15:49:08 +0000
(15:49 +0000)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Mon, 21 Dec 2015 15:49:08 +0000
(15:49 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/iio/iio.c
patch
|
blob
|
history
diff --git
a/src/iio/iio.c
b/src/iio/iio.c
index
ddc7157
..
7ad20a8
100644
(file)
--- a/
src/iio/iio.c
+++ b/
src/iio/iio.c
@@
-559,9
+559,9
@@
mraa_iio_create_trigger(mraa_iio_context dev, const char* trigger)
if (stat(IIO_CONFIGFS_TRIGGER, &configfs_status) == 0) {
memset(buf, 0, MAX_SIZE);
snprintf(buf, MAX_SIZE, IIO_CONFIGFS_TRIGGER "%s", trigger);
- // we actually don't care if this doesn't succeed, as it just means
- // it's already been initialised
- mkdir(buf, configfs_status.st_mode);
+
// we actually don't care if this doesn't succeed, as it just means
+
// it's already been initialised
+
mkdir(buf, configfs_status.st_mode);
}
return MRAA_ERROR_UNSPECIFIED;