git.ucc.asn.au
/
matches
/
MCTX3420.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab00d4e
)
Fix minor typo
author
Jeremy Tan
<
[email protected]
>
Fri, 27 Sep 2013 06:47:51 +0000
(14:47 +0800)
committer
Jeremy Tan
<
[email protected]
>
Fri, 27 Sep 2013 06:47:51 +0000
(14:47 +0800)
server/bbb_pin.c
patch
|
blob
|
history
diff --git
a/server/bbb_pin.c
b/server/bbb_pin.c
index
db18f69
..
f351f53
100644
(file)
--- a/
server/bbb_pin.c
+++ b/
server/bbb_pin.c
@@
-316,7
+316,7
@@
bool GPIO_Set(int pin, bool value)
}
GPIO_Pin *gpio = &g_gpio[g_pin_gpio_to_index[pin]];
- if (gpio->initialised)
+ if (
!
gpio->initialised)
{
AbortBool("GPIO %d is not initialised.", pin);
}
UCC
git Repository :: git.ucc.asn.au