diff --git a/pigpio.c b/pigpio.c index 2d80aed..c9688ba 100644 --- a/pigpio.c +++ b/pigpio.c @@ -13582,8 +13582,8 @@ unsigned gpioHardwareRevision(void) } } } + fclose(filp); } - fclose(filp); } if (rev == 0)