From 31968a4875af21736dda61b4c3c734ebfa6c13f4 Mon Sep 17 00:00:00 2001 From: Rafi Khan Date: Sun, 13 Aug 2017 11:29:12 -0600 Subject: [PATCH] Removed redundant preprocessor directives In the newer versions of the IDE it is sufficient to simply include the Arduino.h header file. Fixes #463 --- src/IRremoteInt.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/IRremoteInt.h b/src/IRremoteInt.h index 1c319ac..1baa05d 100644 --- a/src/IRremoteInt.h +++ b/src/IRremoteInt.h @@ -18,15 +18,9 @@ #define IRremoteint_h //------------------------------------------------------------------------------ -// Include the right Arduino header +// Include the Arduino header // -#if defined(ARDUINO) && (ARDUINO >= 100) -# include -#else -# if !defined(IRPRONTO) -# include -# endif -#endif +#include //------------------------------------------------------------------------------ // This handles definition and access to global variables