Removed redundant preprocessor directives

In the newer versions of the IDE it is sufficient to simply include
the Arduino.h header file.

Fixes #463
This commit is contained in:
Rafi Khan
2017-08-13 11:29:12 -06:00
parent 635e8a923d
commit 31968a4875

View File

@@ -18,15 +18,9 @@
#define IRremoteint_h
//------------------------------------------------------------------------------
// Include the right Arduino header
// Include the Arduino header
//
#if defined(ARDUINO) && (ARDUINO >= 100)
# include <Arduino.h>
#else
# if !defined(IRPRONTO)
# include <WProgram.h>
# endif
#endif
#include <Arduino.h>
//------------------------------------------------------------------------------
// This handles definition and access to global variables