mirror of https://github.com/joan2937/pigpio
Fixed bug for #463
This commit is contained in:
parent
ff38b7ad37
commit
6b80b8429c
4
pigpio.c
4
pigpio.c
|
@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
||||||
For more information, please refer to <http://unlicense.org/>
|
For more information, please refer to <http://unlicense.org/>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* pigpio version 79 */
|
/* pigpio version 80 */
|
||||||
|
|
||||||
/* include ------------------------------------------------------- */
|
/* include ------------------------------------------------------- */
|
||||||
|
|
||||||
|
@ -12056,7 +12056,7 @@ int gpioNotifyOpenWithSize(int bufSize)
|
||||||
gpioNotify[slot].pipe = 1;
|
gpioNotify[slot].pipe = 1;
|
||||||
gpioNotify[slot].max_emits = MAX_EMITS;
|
gpioNotify[slot].max_emits = MAX_EMITS;
|
||||||
gpioNotify[slot].lastReportTick = gpioTick();
|
gpioNotify[slot].lastReportTick = gpioTick();
|
||||||
gpioNotify[i].state = PI_NOTIFY_OPENED;
|
gpioNotify[slot].state = PI_NOTIFY_OPENED;
|
||||||
|
|
||||||
closeOrphanedNotifications(slot, fd);
|
closeOrphanedNotifications(slot, fd);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue