mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-21 08:42:51 +00:00
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:
@@ -18,15 +18,9 @@
|
|||||||
#define IRremoteint_h
|
#define IRremoteint_h
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Include the right Arduino header
|
// Include the Arduino header
|
||||||
//
|
//
|
||||||
#if defined(ARDUINO) && (ARDUINO >= 100)
|
#include <Arduino.h>
|
||||||
# include <Arduino.h>
|
|
||||||
#else
|
|
||||||
# if !defined(IRPRONTO)
|
|
||||||
# include <WProgram.h>
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// This handles definition and access to global variables
|
// This handles definition and access to global variables
|
||||||
|
|||||||
Reference in New Issue
Block a user