adafruit / Adafruit_MQTT_Library

Arduino library for MQTT support
MIT License
566 stars 292 forks source link

Fix `error: call of overloaded 'publish(char*&, uint8_t [512], size_t&, int)' is ambiguous` #218

Closed brentru closed 1 year ago

brentru commented 1 year ago

Fixes error: call of overloaded 'publish(char*&, uint8_t [512], size_t&, int)' is ambiguous caused by https://github.com/adafruit/Adafruit_MQTT_Library/pull/216 by inclusion of https://github.com/ben-willmore/Adafruit_MQTT_Library/commit/83af73f4e52a96d40d73ff2b258605fcc0d18bfb

thank you @ben-willmore for the fix and @tyeth for reporting

Resolves https://github.com/adafruit/Adafruit_MQTT_Library/issues/217

Tested against Adafruit WipperSnapper on a local build.