Skip to content

Commit

Permalink
v1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemccauley authored and ruslansk committed May 20, 2017
1 parent f15a477 commit b0553a9
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ distcheck: dist
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod u+w $(distdir)
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for bcm2835 1.25.
# Generated by GNU Autoconf 2.69 for bcm2835 1.26.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -579,8 +579,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='bcm2835'
PACKAGE_TARNAME='bcm2835'
PACKAGE_VERSION='1.25'
PACKAGE_STRING='bcm2835 1.25'
PACKAGE_VERSION='1.26'
PACKAGE_STRING='bcm2835 1.26'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL=''

Expand Down Expand Up @@ -1223,7 +1223,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures bcm2835 1.25 to adapt to many kinds of systems.
\`configure' configures bcm2835 1.26 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1289,7 +1289,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of bcm2835 1.25:";;
short | recursive ) echo "Configuration of bcm2835 1.26:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1377,7 +1377,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
bcm2835 configure 1.25
bcm2835 configure 1.26
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1478,7 +1478,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by bcm2835 $as_me 1.25, which was
It was created by bcm2835 $as_me 1.26, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2305,7 +2305,7 @@ fi
# Define the identity of the package.
PACKAGE='bcm2835'
VERSION='1.25'
VERSION='1.26'
cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -4730,7 +4730,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by bcm2835 $as_me 1.25, which was
This file was extended by bcm2835 $as_me 1.26, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -4796,7 +4796,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
bcm2835 config.status 1.25
bcm2835 config.status 1.26
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dnl
dnl $Id: configure.in,v 1.1 2012/12/01 22:56:52 mikem Exp mikem $
dnl (C) 2012 Mike McCauley ([email protected])

AC_INIT([bcm2835], [1.25], [[email protected]])
AC_INIT([bcm2835], [1.26], [[email protected]])

AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE()
Expand Down
3 changes: 2 additions & 1 deletion src/bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,7 @@ int bcm2835_close(void)
unmapmem((void**) &bcm2835_bsc0, BCM2835_BLOCK_SIZE);
unmapmem((void**) &bcm2835_bsc1, BCM2835_BLOCK_SIZE);
unmapmem((void**) &bcm2835_st, BCM2835_BLOCK_SIZE);
unmapmem((void**) &bcm2835_pads, BCM2835_BLOCK_SIZE);
return 1; // Success
}

Expand Down Expand Up @@ -1078,4 +1079,4 @@ int main(int argc, char **argv)

return 0;
}
#endif
#endif
4 changes: 3 additions & 1 deletion src/bcm2835.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/// BCM 2835).
///
/// The version of the package that this documentation refers to can be downloaded
/// from http://www.airspayce.com/mikem/bcm2835/bcm2835-1.25.tar.gz
/// from http://www.airspayce.com/mikem/bcm2835/bcm2835-1.26.tar.gz
/// You can find the latest version at http://www.airspayce.com/mikem/bcm2835
///
/// Several example programs are provided.
Expand Down Expand Up @@ -227,6 +227,8 @@
/// \version 1.24 Mark Dootson p[atched a problem with his previously submitted code
/// under high load from other processes.
/// \version 1.25 Updated author and distribution location details to airspayce.com
/// \version 1.26 Added missing unmapmem for pads in bcm2835_close to prevent a memory leak.
/// Reported by Hartmut Henkel.
/// \author Mike McCauley ([email protected]) DO NOT CONTACT THE AUTHOR DIRECTLY: USE THE LISTS


Expand Down

0 comments on commit b0553a9

Please sign in to comment.