mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-20 08:12:53 +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
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user