diff --git a/examples/IRtest/IRtest.ino b/examples/IRtest/IRtest.ino index 4845a4a4d..b30256386 100644 --- a/examples/IRtest/IRtest.ino +++ b/examples/IRtest/IRtest.ino @@ -10,7 +10,6 @@ */ #include -#include // Dumps out the decode_results structure. // Call this after IRrecv::decode() diff --git a/examples/LegoPowerFunctionsSendDemo/LegoPowerFunctionsSendDemo.ino b/examples/LegoPowerFunctionsSendDemo/LegoPowerFunctionsSendDemo.ino index e43d06c2e..1afafe5b6 100644 --- a/examples/LegoPowerFunctionsSendDemo/LegoPowerFunctionsSendDemo.ino +++ b/examples/LegoPowerFunctionsSendDemo/LegoPowerFunctionsSendDemo.ino @@ -4,7 +4,6 @@ */ #include -#include IRsend irsend; diff --git a/src/IRremote.cpp b/src/IRremote.cpp index f21f41b0e..0d63b7774 100644 --- a/src/IRremote.cpp +++ b/src/IRremote.cpp @@ -20,8 +20,7 @@ // Defining IR_GLOBAL here allows us to declare the instantiation of global variables #define IR_GLOBAL -# include "IRremote.h" -# include "IRremoteInt.h" +#include "IRremote.h" #undef IR_GLOBAL #ifdef HAS_AVR_INTERRUPT_H diff --git a/src/IRremote.h b/src/IRremote.h index 928284361..e95e068c7 100644 --- a/src/IRremote.h +++ b/src/IRremote.h @@ -21,7 +21,7 @@ //------------------------------------------------------------------------------ // The ISR header contains several useful macros the user may wish to use // -#include "IRremoteInt.h" +#include "private/IRremoteInt.h" //------------------------------------------------------------------------------ // Supported IR protocols diff --git a/src/esp32.cpp b/src/esp32.cpp index ef4d79476..9710098c2 100644 --- a/src/esp32.cpp +++ b/src/esp32.cpp @@ -3,7 +3,6 @@ // This file contains functions specific to the ESP32. #include "IRremote.h" -#include "IRremoteInt.h" // "Idiot check" #ifdef USE_DEFAULT_ENABLE_IR_IN diff --git a/src/irRecv.cpp b/src/irRecv.cpp index b549dac1c..f3e12aae1 100644 --- a/src/irRecv.cpp +++ b/src/irRecv.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //+============================================================================= // Decodes the received IR message diff --git a/src/irSend.cpp b/src/irSend.cpp index a01b5a012..0561408b6 100644 --- a/src/irSend.cpp +++ b/src/irSend.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" #ifdef SENDING_SUPPORTED //+============================================================================= @@ -136,4 +135,4 @@ void IRsend::custom_delay_usec(unsigned long uSecs) { //} } -#endif // SENDING_SUPPORTED \ No newline at end of file +#endif // SENDING_SUPPORTED diff --git a/src/ir_Aiwa.cpp b/src/ir_Aiwa.cpp index 50ec58d8c..78cd48aa0 100644 --- a/src/ir_Aiwa.cpp +++ b/src/ir_Aiwa.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // AAA IIIII W W AAA diff --git a/src/ir_Denon.cpp b/src/ir_Denon.cpp index c54e28654..848af79db 100644 --- a/src/ir_Denon.cpp +++ b/src/ir_Denon.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" // Reverse Engineered by looking at RAW dumps generated by IRremote diff --git a/src/ir_Dish.cpp b/src/ir_Dish.cpp index fa8e06516..e2f5c15d8 100644 --- a/src/ir_Dish.cpp +++ b/src/ir_Dish.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // DDDD IIIII SSSS H H diff --git a/src/ir_JVC.cpp b/src/ir_JVC.cpp index eeec20fe9..2a418cb66 100644 --- a/src/ir_JVC.cpp +++ b/src/ir_JVC.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // JJJJJ V V CCCC diff --git a/src/ir_LG.cpp b/src/ir_LG.cpp index ba532cb60..476196a6d 100644 --- a/src/ir_LG.cpp +++ b/src/ir_LG.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // L GGGG diff --git a/src/ir_Lego_PF.cpp b/src/ir_Lego_PF.cpp index 37d507ceb..9f9c515f6 100644 --- a/src/ir_Lego_PF.cpp +++ b/src/ir_Lego_PF.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" #include "ir_Lego_PF_BitStreamEncoder.h" //============================================================================== diff --git a/src/ir_Mitsubishi.cpp b/src/ir_Mitsubishi.cpp index 7f83e530f..751ed82ef 100644 --- a/src/ir_Mitsubishi.cpp +++ b/src/ir_Mitsubishi.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // MMMMM IIIII TTTTT SSSS U U BBBB IIIII SSSS H H IIIII diff --git a/src/ir_NEC.cpp b/src/ir_NEC.cpp index 3b4932100..284eab8af 100644 --- a/src/ir_NEC.cpp +++ b/src/ir_NEC.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // N N EEEEE CCCC diff --git a/src/ir_Panasonic.cpp b/src/ir_Panasonic.cpp index dc0dd7317..13288d2c1 100644 --- a/src/ir_Panasonic.cpp +++ b/src/ir_Panasonic.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // PPPP AAA N N AAA SSSS OOO N N IIIII CCCC diff --git a/src/ir_RC5_RC6.cpp b/src/ir_RC5_RC6.cpp index 10e79278e..402ded73d 100644 --- a/src/ir_RC5_RC6.cpp +++ b/src/ir_RC5_RC6.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //+============================================================================= // Gets one undecoded level at a time from the raw buffer. diff --git a/src/ir_Samsung.cpp b/src/ir_Samsung.cpp index 224487dbc..b605b000b 100644 --- a/src/ir_Samsung.cpp +++ b/src/ir_Samsung.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // SSSS AAA MMM SSSS U U N N GGGG diff --git a/src/ir_Sanyo.cpp b/src/ir_Sanyo.cpp index c775d6118..754444d87 100644 --- a/src/ir_Sanyo.cpp +++ b/src/ir_Sanyo.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // SSSS AAA N N Y Y OOO diff --git a/src/ir_Sharp.cpp b/src/ir_Sharp.cpp index 73462c5bc..da0af1a35 100644 --- a/src/ir_Sharp.cpp +++ b/src/ir_Sharp.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // SSSS H H AAA RRRR PPPP diff --git a/src/ir_Sony.cpp b/src/ir_Sony.cpp index 31e67cf78..b3e15ef47 100644 --- a/src/ir_Sony.cpp +++ b/src/ir_Sony.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // SSSS OOO N N Y Y diff --git a/src/ir_Template.cpp b/src/ir_Template.cpp index eee2b0bb2..2b895e144 100644 --- a/src/ir_Template.cpp +++ b/src/ir_Template.cpp @@ -92,7 +92,6 @@ Regards, */ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // diff --git a/src/ir_Whynter.cpp b/src/ir_Whynter.cpp index a830562c6..5ec373de4 100644 --- a/src/ir_Whynter.cpp +++ b/src/ir_Whynter.cpp @@ -1,5 +1,4 @@ #include "IRremote.h" -#include "IRremoteInt.h" //============================================================================== // W W H H Y Y N N TTTTT EEEEE RRRRR diff --git a/src/IRremoteInt.h b/src/private/IRremoteInt.h similarity index 100% rename from src/IRremoteInt.h rename to src/private/IRremoteInt.h diff --git a/src/boarddefs.h b/src/private/boarddefs.h similarity index 100% rename from src/boarddefs.h rename to src/private/boarddefs.h diff --git a/src/sam.cpp b/src/sam.cpp index 06575891c..4cb1b9f13 100644 --- a/src/sam.cpp +++ b/src/sam.cpp @@ -1,7 +1,6 @@ // Support routines for SAM processor boards #include "IRremote.h" -#include "IRremoteInt.h" #if defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD) @@ -99,4 +98,4 @@ void TC3_Handler(void) } } -#endif // defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD) \ No newline at end of file +#endif // defined(ARDUINO_ARCH_SAM) || defined(ARDUINO_ARCH_SAMD)