diff --git a/pigpio.c b/pigpio.c index 87bd696..710d20f 100644 --- 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 15dd1c3..f81f9f9 100644 --- a/pigpio.h +++ b/pigpio.h @@ -31,7 +31,7 @@ For more information, please refer to #include #include -#define PIGPIO_VERSION 6602 +#define PIGPIO_VERSION 6603 /*TEXT