Skip to content

Commit d9a7a81

Browse files
committed
include core_esp8266_features.h in arduino.h for easier usage, and add WIFI_HAS_EVENT_CALLBACK
1 parent 85905c1 commit d9a7a81

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

cores/esp8266/Arduino.h

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ extern "C" {
3737
#include "binary.h"
3838
#include "esp8266_peri.h"
3939
#include "twi.h"
40+
#include "core_esp8266_features.h"
4041

4142
#define HIGH 0x1
4243
#define LOW 0x0

cores/esp8266/core_esp8266_features.h

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#define CORE_HAS_LIBB64
2929
#define CORE_HAS_BASE64_CLASS
3030

31+
#define WIFI_HAS_EVENT_CALLBACK
32+
3133

3234
#endif
3335

0 commit comments

Comments
 (0)