mirror of https://github.com/joan2937/pigpio
commit
cc17196c75
6
pigpio.c
6
pigpio.c
|
@ -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;
|
||||
|
|
2
pigpio.h
2
pigpio.h
|
@ -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
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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',
|
||||
|
|
|
@ -3,6 +3,7 @@ Description=Pigpio daemon
|
|||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=pigpio.pid
|
||||
ExecStart=/usr/bin/pigpiod
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue