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

Fix Dependency on ESPNexUpload #143

Merged
merged 3 commits into from
May 3, 2020
Merged

Fix Dependency on ESPNexUpload #143

merged 3 commits into from
May 3, 2020

Conversation

Onno-Dirkzwager
Copy link
Collaborator

Wrapped the code into an precompiler if statement to prevent the compiler from checking the code when OTA_UPD_CHECK_NEXTION is false and the Nextion library is not included:

#include "../config.h"
#if OTA_UPD_CHECK_NEXTION == true
... code ...
#endif

This should fix the following issue: 2.1.0 Dependency on ESPNexUpload Library #129

This "got lost" during previous refactoring.
mDNS resolution fails for IASBlink #140
Wrapped the code into an precompiler if statement to prevent the compiler from checking the code when OTA_UPD_CHECK_NEXTION is false and the Nextion library is not included:

#include "../config.h"
#if OTA_UPD_CHECK_NEXTION == true
... code ...
#endif
Wrapped the code into an precompiler if statement to prevent the compiler from checking the code when OTA_UPD_CHECK_NEXTION is false and the Nextion library is not included:

#include "../config.h"
#if OTA_UPD_CHECK_NEXTION == true
... code ...
#endif
@Onno-Dirkzwager Onno-Dirkzwager merged commit cd9d05c into iotappstory:master May 3, 2020
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.

None yet

1 participant