Merge branch 'develop': Fix #375, fix #274, fix #373.

This commit is contained in:
Guy McSwain 2020-09-29 11:17:38 -05:00
commit cc17196c75
5 changed files with 7 additions and 6 deletions

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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',

View File

@ -3,6 +3,7 @@ Description=Pigpio daemon
[Service]
Type=forking
PIDFile=pigpio.pid
ExecStart=/usr/bin/pigpiod
[Install]