Skip to content

Commit bab599c

Browse files
committed
remove ifdef
1 parent 3b1791b commit bab599c

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

cores/esp8266/core_esp8266_waveform.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
4040
*/
4141

42-
#ifdef ESP8266
43-
4442
#include "core_esp8266_waveform.h"
4543
#include <Arduino.h>
4644
#include "ets_sys.h"
@@ -436,5 +434,3 @@ static ICACHE_RAM_ATTR void timer1Interrupt() {
436434
// Register access is fast and edge IRQ was configured before.
437435
T1L = nextEventCcys;
438436
}
439-
440-
#endif // ESP8266

cores/esp8266/core_esp8266_waveform.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
4040
*/
4141

42-
#ifdef ESP8266
43-
4442
#include <Arduino.h>
4543

4644
#ifndef __ESP8266_WAVEFORM_H
@@ -89,5 +87,3 @@ void setTimer1Callback(uint32_t (*fn)());
8987
#endif
9088

9189
#endif
92-
93-
#endif // ESP8266

cores/esp8266/core_esp8266_wiring_digital.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2020
*/
2121

22-
#ifdef ESP8266
23-
2422
#define ARDUINO_MAIN
2523
#include "wiring_private.h"
2624
#include "pins_arduino.h"
@@ -265,5 +263,3 @@ extern void attachInterruptArg(uint8_t pin, voidFuncPtrArg handler, void* arg, i
265263
extern void detachInterrupt(uint8_t pin) __attribute__ ((weak, alias("__detachInterrupt")));
266264

267265
};
268-
269-
#endif // ESP8266

cores/esp8266/core_esp8266_wiring_pwm.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2222
*/
2323

24-
#ifdef ESP8266
25-
2624
#include <Arduino.h>
2725
#include "core_esp8266_waveform.h"
2826

@@ -81,5 +79,3 @@ extern void analogWriteFreq(uint32_t freq) __attribute__((weak, alias("__analogW
8179
extern void analogWriteRange(uint32_t range) __attribute__((weak, alias("__analogWriteRange")));
8280

8381
};
84-
85-
#endif // ESP8266

0 commit comments

Comments
 (0)