Skip to content

Commit ead2369

Browse files
committed
fix Arduino Client API, again
Espressif reverted the changes done to 3.1.0 in 3.1.1, see espressif/arduino-esp32#10776 so assuming going forward this API will be kept, make this an exception for 3.1.0
1 parent d38effb commit ead2369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PicoMQTT/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#endif
2828

2929
#ifdef ESP32
30-
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 1, 0)
30+
#if ESP_ARDUINO_VERSION == ESP_ARDUINO_VERSION_VAL(3, 1, 0)
3131
#define PICOMQTT_EXTRA_CONNECT_METHODS
3232
#endif
3333
#endif

0 commit comments

Comments
 (0)