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:
643bb99
)
intel_edison_fab_c.c: ignore failed tristate writes when doing direction set
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Thu, 11 Dec 2014 10:50:57 +0000
(10:50 +0000)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Thu, 11 Dec 2014 10:50:57 +0000
(10:50 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/x86/intel_edison_fab_c.c
patch
|
blob
|
history
diff --git
a/src/x86/intel_edison_fab_c.c
b/src/x86/intel_edison_fab_c.c
index
62c120d
..
bf99361
100644
(file)
--- a/
src/x86/intel_edison_fab_c.c
+++ b/
src/x86/intel_edison_fab_c.c
@@
-97,7
+97,9
@@
mraa_result_t
mraa_intel_edison_gpio_dir_pre(mraa_gpio_context dev, gpio_dir_t dir)
{
if (mraa_gpio_write(tristate, 0) != MRAA_SUCCESS) {
- return MRAA_ERROR_PLATFORM_NOT_INITIALISED;
+ // call can sometimes fail, this does not actually mean much except
+ // that the kernel drivers don't always behave very well
+ syslog(LOG_NOTICE, "edison: Failed to write to tristate");
}
if (dev->phy_pin >= 0) {