Closed lawrencerb closed 1 year ago
Found a fix using the idf.py:
Noted and thank you for pointing out the issue you had faced..
These changes are taken into consideration for next release.
For now you can just change:
if(<Condition>)
To
if(strlen((char*)<Condition>))
We suggest not to suppress any kind of compiler warning you face.
Tools used: VSCode: ESP-IDF extension Compiling the code for either esp32-c3 or esp32-c6 results in:
It appears this specific section of the code is complaining that the condition is always true. There is an easy fix identifying if the pointer has ended the information with \0 but from source it does not compile.
Verified the same issue for either Windows or Linux using ninja ans VSCode