We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the file lib/matrix.c from line '
esp8266_ili9341/lib/matrix.c
Line 497 in 03e9692
if (MatA.cols != MatB.rows) { #if MATDEBUG & 1 printf("error MatA cols(%d) != MatB rows(%d)\n", MatA.cols, MatB.rows); #endif } // A row for (rA = 0; rA < MatA.rows; ++rA) { // col B for (cB = 0; cB < MatB.cols; ++cB) { // row B for (rB = 0; rB < MatB.rows; ++rB) { sum += (MatA.data[rA][rB] * MatB.data[rB][cB]); } MatR.data[rA][cB] = sum; sum = 0; } }
Otherwise, when the MATDEBUG option is switched off, the matrix calculates incorrectly and the touch does not work!
The text was updated successfully, but these errors were encountered:
But a better solution would probably be this:
#if MATDEBUG & 1 if (MatA.cols != MatB.rows) { printf("error MatA cols(%d) != MatB rows(%d)\n", MatA.cols, MatB.rows); } #endif
You can close this issue after review..
Sorry, something went wrong.
No branches or pull requests
In the file lib/matrix.c from line '
esp8266_ili9341/lib/matrix.c
Line 497 in 03e9692
Otherwise, when the MATDEBUG option is switched off, the matrix calculates incorrectly and the touch does not work!
The text was updated successfully, but these errors were encountered: