Update ESP32_FFT_VU.ino

Fixed apparent typo that resulted in matrix not being addressed correctly unless it was perfectly square (I was using 16x9)
pull/3/head
compuw22c 2020-12-30 02:31:05 -06:00 zatwierdzone przez GitHub
rodzic ca6e16e8f2
commit a4b674a7c0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -79,7 +79,7 @@ uint16_t XY( uint8_t x, uint8_t y) {
i = (y * kMatrixWidth) + reverseX;
} else {
// Even rows run forwards
i = (y * kMatrixHeight) + x;
i = (y * kMatrixWidth) + x;
}
return i;
}