projects
/
contrib
/
upm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8cfb3d3
)
my9221: return mraa_error_t when method says it does
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Mon, 14 Jul 2014 12:59:56 +0000
(13:59 +0100)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Mon, 14 Jul 2014 12:59:56 +0000
(13:59 +0100)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/my9221/my9221.cxx
patch
|
blob
|
history
diff --git
a/src/my9221/my9221.cxx
b/src/my9221/my9221.cxx
index
63004c7
..
51a6ede
100644
(file)
--- a/
src/my9221/my9221.cxx
+++ b/
src/my9221/my9221.cxx
@@
-104,6
+104,7
@@
MY9221::lockData () {
error = mraa_gpio_write (m_dataPinCtx, HIGH);
error = mraa_gpio_write (m_dataPinCtx, LOW);
}
+ return error;
}
mraa_result_t
@@
-124,4
+125,5
@@
MY9221::send16bitBlock (short data) {
data <<= 1;
}
+ return error;
}