diff options
author | Guy McSwain <guy.mcswain@gmail.com> | 2020-09-29 11:17:38 -0500 |
---|---|---|
committer | Guy McSwain <guy.mcswain@gmail.com> | 2020-09-29 11:17:38 -0500 |
commit | cc17196c7586c3625ac8adf8f34838d320ffeda6 (patch) | |
tree | cf2387360732a0a21a132f6cf83175dff244348f | |
parent | 606d805324b0ecd3242441da9f03b24740d9ede4 (diff) | |
parent | c7c561177d530cb3b3e5827669e24950626ef45c (diff) |
Merge branch 'develop': Fix #375, fix #274, fix #373.
-rw-r--r-- | pigpio.c | 6 | ||||
-rw-r--r-- | pigpio.h | 2 | ||||
-rw-r--r-- | pigpio.py | 2 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | util/pigpiod.service | 1 |
5 files changed, 7 insertions, 6 deletions
@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org/> */ -/* pigpio version 77 */ +/* pigpio version 78 */ /* include ------------------------------------------------------- */ @@ -7335,7 +7335,7 @@ static int initGrabLockFile(void) static uint32_t * initMapMem(int fd, uint32_t addr, uint32_t len) { return (uint32_t *) mmap(0, len, - PROT_READ|PROT_WRITE|PROT_EXEC, + PROT_READ|PROT_WRITE, MAP_SHARED|MAP_LOCKED, fd, addr); } @@ -13742,8 +13742,8 @@ unsigned gpioHardwareRevision(void) rev = ntohl(tmp); rev &= 0xFFFFFF; /* mask out warranty bit */ } + fclose(filp); } - fclose(filp); } piCores = 0; @@ -30,7 +30,7 @@ For more information, please refer to <http://unlicense.org/> #include <stdint.h> #include <pthread.h> -#define PIGPIO_VERSION 77 +#define PIGPIO_VERSION 78 /*TEXT @@ -331,7 +331,7 @@ import threading import os import atexit -VERSION = "1.46" +VERSION = "1.78" # sync minor number to pigpio library version exceptions = True @@ -3,7 +3,7 @@ from distutils.core import setup setup(name='pigpio', - version='1.46', + version='1.78', author='joan', author_email='joan@abyz.me.uk', maintainer='joan', diff --git a/util/pigpiod.service b/util/pigpiod.service index a0bb916..f040d38 100644 --- a/util/pigpiod.service +++ b/util/pigpiod.service @@ -3,6 +3,7 @@ Description=Pigpio daemon [Service] Type=forking +PIDFile=pigpio.pid ExecStart=/usr/bin/pigpiod [Install] |