projects
/
pigpio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf29b45
)
V66: #168 check commands against PI_CMD_SCRIPT
author
joan
<joan@abyz.co.uk>
Tue, 13 Feb 2018 22:04:21 +0000
(22:04 +0000)
committer
joan
<joan@abyz.co.uk>
Tue, 13 Feb 2018 22:04:21 +0000
(22:04 +0000)
pigpio.c
patch
|
blob
|
history
pigpio.h
patch
|
blob
|
history
diff --git
a/pigpio.c
b/pigpio.c
index 87bd6968f800fb62193cdb7371f4e03ed5d38c7c..710d20f642433dcf2127a527d6db6c3498aedfc5 100644
(file)
--- a/
pigpio.c
+++ b/
pigpio.c
@@
-6553,7
+6553,7
@@
static void *pthScript(void *x)
PC, instr.p[0], p1o, instr.p[1], p2o, instr.p[2]);
fflush(stderr);
*/
- if (instr.p[0] <
100
)
+ if (instr.p[0] <
PI_CMD_SCRIPT
)
{
if (instr.p[3])
{
diff --git
a/pigpio.h
b/pigpio.h
index 15dd1c3b02294a7a3ba85e42fb43dd8b65498ab0..f81f9f9011e0917fecf5d9a378c4fdd8a7e16c1c 100644
(file)
--- a/
pigpio.h
+++ b/
pigpio.h
@@
-31,7
+31,7
@@
For more information, please refer to <http://unlicense.org/>
#include <stdint.h>
#include <pthread.h>
-#define PIGPIO_VERSION 660
2
+#define PIGPIO_VERSION 660
3
/*TEXT