diff options
| author | Sol Huebner <solhuebner@users.noreply.github.com> | 2022-01-09 05:21:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-09 05:21:33 -0500 |
| commit | a42dcb458bcff3ed8667710690ad8c7ef30cc4b6 (patch) | |
| tree | 26f651c6ee7f7cd95655e3c25ac4e0784a9763de | |
| parent | 3dd4103d71f4f288738a210aa4c4ff94c0fb34cd (diff) | |
small explanation update
| -rw-r--r-- | ESP32-VirtualMatrixPanel-I2S-DMA.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ESP32-VirtualMatrixPanel-I2S-DMA.h b/ESP32-VirtualMatrixPanel-I2S-DMA.h index 7eafdcc..7228232 100644 --- a/ESP32-VirtualMatrixPanel-I2S-DMA.h +++ b/ESP32-VirtualMatrixPanel-I2S-DMA.h @@ -133,7 +133,7 @@ inline VirtualCoords VirtualMatrixPanel::getCoords(int16_t &x, int16_t &y) { //Serial.println("Called Base."); coords.x = coords.y = -1; // By defalt use an invalid co-ordinates that will be rejected by updateMatrixDMABuffer - if ( x < 0 || x >= virtualResX || y < 0 || y >= virtualResY ) { // Co-ordinates go from 0 to X-1 remember! width() and height() are out of range! + if ( x < 0 || x >= virtualResX || y < 0 || y >= virtualResY ) { // Co-ordinates go from 0 to X-1 remember! otherwise they are out of range! //Serial.printf("VirtualMatrixPanel::getCoords(): Invalid virtual display coordinate. x,y: %d, %d\r\n", x, y); return coords; } |
