Skip to content

Commit f077181

Browse files
Manuel Schmitzberger256dpi
authored andcommitted
Include functional API also for the ESP32.
1 parent b7e4158 commit f077181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MQTTClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// include functional API if possible. remove min and max macros for some
55
// platforms as they will be defined again by Arduino later
6-
#if defined(ESP8266)
6+
#if defined(ESP8266) || (defined ESP32)
77
#include <functional>
88
#define MQTT_HAS_FUNCTIONAL 1
99
#elif defined(__has_include)

0 commit comments

Comments
 (0)