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:
6a85c57
)
mraa.c: Do not return with error if iio devices are not detected
author
Henry Bruce
<henry.bruce@intel.com>
Thu, 3 Dec 2015 23:24:10 +0000
(15:24 -0800)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Tue, 15 Dec 2015 10:42:06 +0000
(10:42 +0000)
Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/mraa.c
patch
|
blob
|
history
diff --git
a/src/mraa.c
b/src/mraa.c
index
28a2c4a
..
073e1ba
100644
(file)
--- a/
src/mraa.c
+++ b/
src/mraa.c
@@
-143,9
+143,8
@@
mraa_init()
}
#endif
- mraa_result_t iio_result = mraa_iio_detect();
- if (iio_result != MRAA_SUCCESS)
- return iio_result;
+ // Look for IIO devices
+ mraa_iio_detect();
syslog(LOG_NOTICE, "libmraa initialised for platform '%s' of type %d", mraa_get_platform_name(), mraa_get_platform_type());
return MRAA_SUCCESS;