Fixed bug for #463

This commit is contained in:
joan2937 2021-05-08 08:49:09 +01:00
parent ff38b7ad37
commit 6b80b8429c
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>
*/
/* pigpio version 79 */
/* pigpio version 80 */
/* include ------------------------------------------------------- */
@ -12056,7 +12056,7 @@ int gpioNotifyOpenWithSize(int bufSize)
gpioNotify[slot].pipe = 1;
gpioNotify[slot].max_emits = MAX_EMITS;
gpioNotify[slot].lastReportTick = gpioTick();
gpioNotify[i].state = PI_NOTIFY_OPENED;
gpioNotify[slot].state = PI_NOTIFY_OPENED;
closeOrphanedNotifications(slot, fd);