mirror of https://github.com/joan2937/pigpio
V66: #168 check commands against PI_CMD_SCRIPT
This commit is contained in:
parent
cf29b45ded
commit
e9ffe3d925
2
pigpio.c
2
pigpio.c
|
@ -6553,7 +6553,7 @@ static void *pthScript(void *x)
|
||||||
PC, instr.p[0], p1o, instr.p[1], p2o, instr.p[2]);
|
PC, instr.p[0], p1o, instr.p[1], p2o, instr.p[2]);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
*/
|
*/
|
||||||
if (instr.p[0] < 100)
|
if (instr.p[0] < PI_CMD_SCRIPT)
|
||||||
{
|
{
|
||||||
if (instr.p[3])
|
if (instr.p[3])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue