From ee2f46fb87dd31df16d7f9360b2aefbee20ec57a Mon Sep 17 00:00:00 2001 From: Christian Iversen Date: Sat, 11 Oct 2014 18:21:59 +0200 Subject: [PATCH] + Added safeguard against old invalid define --- Bounce2/Bounce2.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Bounce2/Bounce2.h b/Bounce2/Bounce2.h index 2032650..df9402c 100644 --- a/Bounce2/Bounce2.h +++ b/Bounce2/Bounce2.h @@ -29,6 +29,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Previous contributions by Eric Lowry, Jim Schimpf and Tom Harkaway * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +#ifdef BOUNCE_LOCK +#error You are using the invalid BOUNCE_LOCK-OUT define. Please update your sources to use BOUNCE_LOCK_OUT +#endif + // Uncomment the following line for "LOCK-OUT" debounce method //#define BOUNCE_LOCK_OUT