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:
b7d38a2
)
aio: fix error checking of maa_check_aio
author
Brendan Le Foll
<brendan.le.foll@intel.com>
Tue, 13 May 2014 21:58:43 +0000
(21:58 +0000)
committer
Brendan Le Foll
<brendan.le.foll@intel.com>
Tue, 13 May 2014 21:58:43 +0000
(21:58 +0000)
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/aio/aio.c
patch
|
blob
|
history
diff --git
a/src/aio/aio.c
b/src/aio/aio.c
index
e1d9ad7
..
6b12a14
100644
(file)
--- a/
src/aio/aio.c
+++ b/
src/aio/aio.c
@@
-53,7
+53,7
@@
maa_aio_context* maa_aio_init(unsigned int aio_channel)
{
maa_aio_context* dev;
-
unsigned
int checked_pin = maa_check_aio(aio_channel);
+ int checked_pin = maa_check_aio(aio_channel);
if (checked_pin < 0) {
switch(checked_pin) {
case -1: