Closed Deadolus closed 2 years ago
The designator order in main.c does not match the one defined in ws2811.h. This leads to problems when using the code with c++ compilers.
I corrected the initialization order here and the compilation now works with the afromentioned complainers without issues. Tested on Ubuntu 21.10 (clang 13.0.0-2/gcc 11.2.0) and Raspberry Pi 4 Release 11 bullseye (GCC 10.2.1)
Thank you. This still gets me basically every time in C++.
The designator order in main.c does not match the one defined in ws2811.h. This leads to problems when using the code with c++ compilers.
I corrected the initialization order here and the compilation now works with the afromentioned complainers without issues. Tested on Ubuntu 21.10 (clang 13.0.0-2/gcc 11.2.0) and Raspberry Pi 4 Release 11 bullseye (GCC 10.2.1)