mrcodetastic / ESP32-HUB75-MatrixPanel-DMA

An Adafruit GFX Compatible Library for the ESP32, ESP32-S2, ESP32-S3 to drive HUB75 LED matrix panels using DMA for high refresh rates. Supports panel chaining.
MIT License
975 stars 215 forks source link

VirtualMatrixPanel::_virtualResX - Not initialized when using NO_GFX #594

Closed netmindz closed 3 months ago

netmindz commented 9 months ago

VirtualMatrixPanel::getCoords expects to use _virtualResX and _virtualResY to be defined, but these are only defined by VirtualMatrixPanel::setRotation which is not called by default

You can work around the issue by calling fourScanPanel->setRotation(0); otherwise, you just get no output

mrcodetastic commented 9 months ago

Thank you for finding this. If you have a suggested fix, please feel free to raise a pull request, and I'll merge.