Skip to content

Commit

Permalink
fix Arduino Client API, again
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Michael Haberler committed Jan 15, 2025
1 parent d38effb commit ead2369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PicoMQTT/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#endif

#ifdef ESP32
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 1, 0)
#if ESP_ARDUINO_VERSION == ESP_ARDUINO_VERSION_VAL(3, 1, 0)
#define PICOMQTT_EXTRA_CONNECT_METHODS
#endif
#endif
Expand Down

0 comments on commit ead2369

Please sign in to comment.