Skip to content
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

Added if-defs around code for MQTT - Updated README.MD #107

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

Martinius79
Copy link
Collaborator

  • Added if-defs around all code for MQTT stuff, because compiling fails, if some of the defines starting with MQTT_ are missing/uncommented and it uses unneeded space, if MQTT_ENABLE is not defined at all

  • Updated README.MD file - MQTT TLS notes added - minor fixes in the README file.

… if some of the defines starting with MQTT_ are missing/uncommented and it uses unneeded space, if MQTT_ENABLE is not defined at all - Updated README.MD file - MQTT TLS notes added - minor fixes in the README file.
@eku
Copy link

eku commented Dec 7, 2024

Is there anything against using the shortened macro #ifdef?

@Martinius79
Copy link
Collaborator Author

I changed the "if defined" statements to ifdef... for the MQTT_ENABLED checks

@aly-fly aly-fly merged commit c0d3e2e into aly-fly:main Dec 9, 2024
2 checks passed
@Martinius79 Martinius79 deleted the AddedIfdefsAroundAllMQTTStuff2 branch December 10, 2024 17:32
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