From ba25cd521a60de5fbcd2e82daa5866ed485c1845 Mon Sep 17 00:00:00 2001 From: Bob Burns Date: Sun, 24 Dec 2017 05:59:50 -0800 Subject: [PATCH] fix define for HAVE__BCM_H --- ChangeLog | 4 ++++ NEWS | 4 ++++ configure.ac | 2 +- src/display.c | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5265638..11d00bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-12-24 Bob Burns +*** 1.2.2 patch for HAVE__BCM_H define in +display.c + 2017-12-21 Bob Burns *** 1.2.1 attempting to speed up the execution on pi and chip by opening up all fds in gpio_init() diff --git a/NEWS b/NEWS index e3b0311..3dc19fa 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,9 @@ Mikode NEWS - User visible changes. +*** patching 1.2.2 I didn't quite catch + all of the define changes for HAVE__BCM_H + sorry if you couldn't compile 1.2.1 on Pi + ** release 1.2.0 adds support for PocketCHIP GPIO. I'm going to leave this one in /beta folder for now diff --git a/configure.ac b/configure.ac index 7f38b5a..dcbc84c 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([Mikode], [1.2.1], [reburns@protonmail.com]) +AC_INIT([Mikode], [1.2.2], [reburns@protonmail.com]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADERS([config.h]) diff --git a/src/display.c b/src/display.c index 0d5edd0..7ae0e79 100644 --- a/src/display.c +++ b/src/display.c @@ -119,7 +119,7 @@ run_io (uint16_t op, run_state * state, uint8_t ** prog, _rom * w) /* gpio */ -#if ( HAVE__OPT_VC_INCLUDE_BCM_HOST_H ) || ( HAVE__NTC_MODEL ) +#if ( HAVE__BCM_HOST ) || ( HAVE__NTC_MODEL ) int ret; if (w->gpio_rom == 1) {