Skip to content

Make newly inlined lwmqtt_arduino_ functions declared with inline #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 11, 2018

Conversation

sandeepmistry
Copy link
Contributor

In the latest release, if the MQTT.h file is included in another lib's .h file, you can get duplicate symbols for lwmqtt_arduino_timer_set, lwmqtt_arduino_timer_get, lwmqtt_arduino_network_read, and lwmqtt_arduino_network_write.

These changes make those functions declared as inline.

@256dpi 256dpi merged commit d1c7338 into 256dpi:master Oct 11, 2018
@256dpi
Copy link
Owner

256dpi commented Oct 11, 2018

Thanks! I haven't thought about that! ✌️I just released v2.4.1 with the fix.

@endorama
Copy link

@256dpi thank you for merging this so quickly!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants