Closed kickshawprogrammer closed 1 year ago
This looks like an old version of WebSerial. I didn't find any DEBUG
declaration in current state of code.
Closing this as CI workflow on this repo is building successfully. If you still face the issue, don't hesitate to open this issue back again.
When I try to compile my project, I get the below following error:
I've tracked it down to the following code: (several others are similar as well)
The problem is, that in both the header and source files, there is a #ifdef..#endif block around the declaration/definition of DEBUG_WEB_SERIAL() method.
The fix for this is simple enough. Change the #if defined(DEBUG) tests to #if defined(WEBSERIAL_DEBUG) to match the declarations. If needed, I can do a pull request for it but am I really the only one that has had this problem to date?
Let me know,