projects
/
pigpio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3272708
)
Fixing ifFlags check for additional flag
author
TheRaspyDev
<theraspydev@gmail.com>
Fri, 19 May 2017 08:24:19 +0000
(10:24 +0200)
committer
TheRaspyDev
<theraspydev@gmail.com>
Fri, 19 May 2017 08:24:19 +0000
(10:24 +0200)
pigpio.c
patch
|
blob
|
history
diff --git
a/pigpio.c
b/pigpio.c
index 81af8aff00401338a0417897813d5e6504439ddc..7c130e5330e184d08e2ad3b833d21f18653f974c 100644
(file)
--- a/
pigpio.c
+++ b/
pigpio.c
@@
-13380,7
+13380,7
@@
int gpioCfgInterfaces(unsigned ifFlags)
CHECK_NOT_INITED;
- if (ifFlags >
7
)
+ if (ifFlags >
15
)
SOFT_ERROR(PI_BAD_IF_FLAGS, "bad ifFlags (%X)", ifFlags);
gpioCfg.ifFlags = ifFlags;