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
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