Skip to content

Commit

Permalink
Merge branch 'develop': Fix #375, fix #274, fix #373.
Browse files Browse the repository at this point in the history
  • Loading branch information
guymcswain committed Sep 29, 2020
2 parents 606d805 + c7c5611 commit cc17196
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pigpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------------------------------------------- */

Expand Down Expand Up @@ -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);
}
Expand Down Expand Up @@ -13742,8 +13742,8 @@ unsigned gpioHardwareRevision(void)
rev = ntohl(tmp);
rev &= 0xFFFFFF; /* mask out warranty bit */
}
fclose(filp);
}
fclose(filp);
}

piCores = 0;
Expand Down
2 changes: 1 addition & 1 deletion pigpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pigpio.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
import os
import atexit

VERSION = "1.46"
VERSION = "1.78" # sync minor number to pigpio library version

exceptions = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from distutils.core import setup

setup(name='pigpio',
version='1.46',
version='1.78',
author='joan',
author_email='[email protected]',
maintainer='joan',
Expand Down
1 change: 1 addition & 0 deletions util/pigpiod.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Description=Pigpio daemon

[Service]
Type=forking
PIDFile=pigpio.pid
ExecStart=/usr/bin/pigpiod

[Install]
Expand Down

0 comments on commit cc17196

Please sign in to comment.